Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bulk Action Link

Greetings, I have 100+ Defect JIRA issues I want to link to a Single output Build Issue. I've been reading up on Bulk Actions, but I don't see a Bulk Link Action.

help?

Thanks

17 answers

2 accepted

18 votes
Answer accepted

For linking, you need not go via the bulk action. Instead, open that one single issue, select 'Link Issue' from More Actions and paste all the 100+ issue keys in that edit box and submit.

In order to quickly get you that 100+ issues as one text field, you could export that list from Jira to excel, copy the issue-link column, paste in a good text editor and replace newline with comma.

It does not seem to work with commas anymore, but it works fine if you have spaces.

If your issues are visible in an Agile Board you can select them and use the context menu to see them in the Issue Navigator. If you do this, you will get a query of the form "issueKey in (...)". Thus you have a comma separated lists of the issue keys and you just need to remove the comma.

Like # people like this

Spaces between issue keys didn't work for me in 6.4, nor newlines. But you can do a search in the Link popup and get the issues that way with Advanced Search. Just as David says below.

Renjith's method worked for me. All i did was got the list of issues which i need to update, exported to csv, copied the keys and pasted it in linked issue and ta-da! THANKS Renjith

So, just replace spaces/commas/whatever with a TAB character, works like a charm.

Terrible UX, as usual :(

Like # people like this

I couldn't get this to work with the "," separated values, but the space separation worked for me. 

Just FYI, I copied the key column to text wrangler and removed all line breaks to ge the space separated values

I had the same problem with line spaces etc, nothing worked, then I copied from Excel or Text editor, pasted them in and then clicked out of the box, for example reselecting link type, and then all the pasted issues appeared as separate issues, not necessary to change line feeds or anything to commas and the likes.

Like Derek Boutang likes this

This doesn't appear to work with the on screen edit that's part of the new Jira Issue View (https://confluence.atlassian.com/jiracorecloud/the-new-jira-issue-view-938040503.html).  Now if you paste in a bunch of ticket numbers it forces you to pick one or you can select Exact Key which won't allow you to proceed.  If you click outside of the box it doesn't save what you entered.  I reverted to the old Jira issue view and it worked as described above in a separate on-screen popup window.

Like # people like this

@Renjith Pillai 

Hi Renjith,

Recently we have upgraded JIRA from v7.9.2 to v8.2.4 but the easy links add on is not compatible with v8.

I have checked in the marketplace but the add-on does not appear.

Is there any similar add-on to use like easy links? 

Regards,

Andrews

9 votes
Answer accepted

Here's my solution...

Using Jira Cloud...

  1. Find the Issues you want to bulk link to another issue
  2. Click Advanced query.  Copy the JQL statement.  (e.g.: project = MNS AND status = DONE AND assignee in (dcmiller13)  )
  3. Find the issue you want to link to.  Click Link, pick the Link type, then  --> Search for an Issue --> Advanced.
  4. Paste the JQL.  Click the top checkbox to select all.

BulkLink.png

This is only a partial solution, as you will only have a max of 10 issues returned from the search. 

Like # people like this

You can add to the end of your query a condition for "and not already linked" using the linkedIssues function:

 

[query for issues you want to link] and Issue not in linkedIssues([key for issue you are linking to]) 

You can run that repeatedly to link 10 at a time.

 

This is the best solution imho. I cannot easily convert jql results to issue keys with spaces, but I can query for everything I want to link. If someone has a way to generate keys with spaces easily then possibly the accepted solution would be more useful.

Like Curt Holley likes this

I just tried this using a parentlink in the advanced search, and it returned all the tasks in that epic, but when I tried to link, it just linked the epic, not the tasks. :-/

Screenshot 2020-11-04 at 14.47.36.png

It's 2018 and we still can't bulk link through the web. Wow.

This is Atlassian..

Like # people like this

It's 2019 and we still can't bulk link through the web. Wow.

Like # people like this

This is Atlassian..

Like Michael Gill likes this

It's the end of Q1 2019 and you still cannot bulk link issues.

Like # people like this

This is Atlassian...

Like # people like this

Just unbelievable . Basic functionality is not available.... 

Like Grant Fevrier likes this

This is Atlassian.

Like Michael Gill likes this

It's the middle of Q3 2019 and you still cannot bulk link issues... *sigh*

Like # people like this

This is Sparta.

Like # people like this

I really would like to bulk link issues...

Just fix this Atlasian, it is extremely annoying not to be able to bulk upgrade link issues.

Like # people like this

It's almost 2020 and still not able to bulk link issues... 

Like # people like this

This is a tragedy 

 

We're doing it manually!
Better to move back to sticky notes. 

Still cannot bulk link....  SMH

It's 2020 now in Australia. Still doesn't exist

Like # people like this

It's more than a week into 2020 in the US and we still cannot bulk link...

Like zgosalvez likes this

It's the end of February 2020, and still cannot bulk link. 

Bulk linking works now!

 

April Fools!  It's April 1st 2020 and we still can't bulk link.

Like # people like this

It's May 2020... nope, still can't bulk link issues.

 

You can, however, add them in bulk by switching to the old issue view, click "add link" and paste a space-separated list of issue IDs and then click outside of the box / suggestion which causes jira to split your input into individual issue entries.

Like # people like this

It's October 2020 and we still can't bulk link... but Jonathan's workaround was a huge help!

Not sure what to do though once Atlassian discontinues the old issue view though... 

Steps for bulk update:
1. Switch to OLD view of Jira by turning off the "Jira Labs" toggle

Screenshot 2020-11-03 at 7.15.11 PM.png

2. Filter out all the tickets you want to link and export it as CSV file

3. Copy all the issue IDs from the CSV file in one go

4. Open parent ticket -> Link Issue -> ctrl-v / cmd-v all the copied issues in the field

5. Just click outside the text field (un-focus)

Screenshot 2020-11-03 at 7.19.07 PM.png

6. Click "Link" and there you go!

Just hoping this feature to be added in the new view as the old view will no longer be supported in coming days.

Like # people like this

You saved my day. Thanks a lot!

Hi Renjith

I tried following your instructions but it didn't get me anywhere. Whenever I tried pasting 87 issues as a comma separated string it would br parsed as a one issue and would not work.

What you have to do is paste is with the newline in it - do not replace with comma..

I'm on Jira 5.2.7

In the "Add Link" dialog's search function, you can return and multi-select issues to link to the item.jira_link_multiselect.png

the only problem with this seems to be that it limits how many results are returned to 10 which is not helpful for the OP's scenario (nor mine), but is useful to know of this approach (using a JQL query to get a list of issues for linking)

  1. Go to parent issue à More à Link
  2. Define the link type
  3. Paste into the "Issue" field your list of issue keys separated by space and just click on the area outside of the text box
  4. The system will process and accept each key as a separate issue
  5. Press Alt+s to submit

WORKS!!! for Jira 7.7

linked over 100 in single action and over 500 in total.

Thanks :)

Yes, it works!  THANK YOU!!!

I was only able to see this option when in Old View, but it worked then.

Like # people like this

Hi,

How can we do bulk remove links for issues in JIRA?

Thanks in advance for any solution.

Regards,

Latha

My company also looking for the same. 

 

There should be bulk operations for both:

 > link issues

 > delete link issues

This function really should be added to bulk edit!  My solution is a little easier for large numbers of tickets (and much easier to repeat) if you can access Jira Automation (formerly Automation for Jira).

  1. Create a new Automation rule with a Manual trigger.  (You don't want others running this rule, so restrict it to the highest possible permission group you are a member of).
  2.  Add a Branch rule / Related issue, JQL type.  Set the JQL to return exactly what tickets you want bulk-linked.  Uncheck "Only include issues that have changed since the last time this rule executed" (or check it if you want that for repeated executions).
  3. Add a Link issues Action with the link type you want, and set it to run on the Trigger issue.
  4. Publish the rule and set a name for it like Bulk Link.
  5. Bring up the issue detail page for the issue you want bulk linked to all those tickets, select your new rule in the Automation section, and Run.
  6. Once the rule is run, go back into Automation and disable it so it doesn't get accidentally run in the future (or leave it enabled if you want to do this same operation repeatedly).
Like BrianW likes this

Thanks for this.. I created a rule based on the label changing.. So if the label changes to a value then the linked issue automation runs. 

 

If field Label changes to "GEOBC" then run this jql to look for other issues with the "GEOBC" label and link all of those issues to the trigger issue 

Like BrianW likes this
0 votes
Thomas Schlegel Community Leader Mar 06, 2012

Bulk linking is not (yet) possible. it's an old issue, see https://jira.atlassian.com/browse/JRA-2428

Only workarounds like the one mentioned by Renjith are possible

Best regards

Thomas

i can click "search issue" - but if i wanna go to the advanced search, there is a notice, that the auto complete is loading, and then the pop-up closes. so i can't do anythin.

has anyone an idea what could cause the problem (no javascript exception, nothing special at jira log file) or has anyone another workaround to link all issues from a filter to a single other issue?

This sounds good but how do you bulk unlink them? 

Hi!

with the plugin I made (Easy Links for JIRA) you can bulk link and/or unlink issues. Check out my answer: https://answers.atlassian.com/questions/40224.

Regards!

Fernando

Hi @Fernando Llaca Romero 

Recently we have upgraded JIRA from v7.9.2 to v8.2.4 but the easy links add on is not compatible with v8.

I have checked in the marketplace but the add-on does not appear.

Is there any similar add-on to use like easy links? Or your team will upgrade this plugin to compatible with Jira v8?

 

Regards,

Andrews

Does anyone have a better way to bulk link more than 10 issues to another issue?

By using this free plugin I made (Easy Links for JIRA) you can create a custom field that represents an issue link type (for example: "is blocked by"). This custom field looks like a dropdown issue select list that autocompletes as you type in but, when you set the value, the plugin will create behind the scenes a regular JIRA issue link using that value. You can use this plugin in bulk edition (so you can bulk create and/or remove issue links).

It also gives you other features, like using the "Link" custom field in gadgets, dashboards and JQL.

Hope it helps!

Best regards,

Fernando

Hi Andrea,

please check out my answer to this question, I think it may help you: https://answers.atlassian.com/questions/40224

Regards!

Fernando

 

Hi @Fernando Llaca Romero 

Recently we have upgraded JIRA from v7.9.2 to v8.2.4 but the easy links add on is not compatible with v8.

I have checked in the marketplace but the add-on does not appear.

Is there any similar add-on to use like easy links? Or your team will upgrade this plugin to compatible with Jira v8?

Regards,

Andrews

Can we perform "Bulk Edit" operation on security level?

 

Easiest to export to csv and import to google sheet.  then use =join(" ",A2:A) to turn into a string in a cell.  and copy that to jira. 

 

You can link 50 issues at a time by opening the parent issue in edit.  Scroll down to the link and click the + sign.  If you searched for the issues and have the list on screen prior to editing the parent issue, select the recent issues radio button, or you can select from filter radio button in the pop-up dialogue box.  Select the individual issues or click the select multiple issue button at the top of the screen.  Check off those to link to the parent issue.  Shift-click for the whole list will work.  Scroll to the bottom and link. 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you