In the old view you could paste in several issue keys/numbers (separated by whitespace) into the link text box, and it would link them all to a single ticket. The new view doesn't allow you to do that. I get an error saying the it can't find the issue with the given key.
How do you do this in the new view? It will be very tedious to have to link 100 issues to one ticket one at a time. For now I will just switch back to the old view to do this.
As pointed out previously, I do not believe this functionality exists in the "new view" yet either.
I found myself in the same position and ended up resorting to using the Jira REST API - in particular, the "Create issue link" endpoint.
Below is a solution that uses Node.js to link an arbitrary number of issues to a single issue
mkdir linking-jira-issues
npm init
npm install node-fetch
node index.js
As long-winded as it is, that should hopefully link all the tickets you specify to a single Jira ticket without having to do each one manually in the UI.
Thank you. I finally got around to testing this and it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome! Glad to hear that!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I run the same I get the following error message
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1178:20)
at Module._compile (node:internal/modules/cjs/loader:1220:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've found a way!!
1. Begin on the Issue Navigator. On the right hand side of an issue, click the 3 dots menu and scroll down to Link
2. In the popup, click search for an issue
3. In the next pane, click Advanced Search so you can do your own JQL.
NOTE: Do not put "order by" at the end of your JQL or it won't work
4. From here you can click the checkbox next to Type to select all 10 and then the Add Button at the bottom right to complete your selection.
It only returns 10 issues, sadly 😢 but that's still better than nothing. I'd recommend including something like "issueLinkType is empty" in your JQL so you can run it a few times with new results each time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds about right. More basic functionality removed.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think this functionality has been implemented yet, however, there have been numerous requests for this feature. Refer to the following: link multiple issue requests
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.