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

1 accepted

11 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.

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 2 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.

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

This is Atlassian..

Like 1 person likes this

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

Like 8 people like this

This is Atlassian..

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

This is Atlassian...

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. 

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.

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.

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

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

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

 

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. 

0 votes

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

yogatips

 

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 09, 2019 in Portfolio for Jira

Portfolio for Jira 3.0 is here!

The wait is over... Portfolio for Jira Server and Data Center 3.0 is now officially here! Platform releases offer Atlassian an opportunity to shift our strategy, make bold predictions about t...

1,523 views 14 26
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you