Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

There is a way I can link multiple issues to one at once?

Sofia Grunspan
Contributor
January 26, 2023

I need to link several tickets to one, I didn't find the way to do it using bulk change, and to chose one by one in the issue I want to link all is not an option due the number.

Can you guide me how to do that with out any add on?

1 answer

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
January 26, 2023

Hi @Sofia Grunspan - You could create a one-time automation to do this:

  • TRIGGER: Scheduled (doesn't matter what frequency. You can execute it manually)
    • Uncheck JQL
  • ACTION: Lookup Issues
    • Key = <key for your target issue>
  • BRANCH (JQL)
    • Your JQL
    • ACTION: Link Issue
      • Your desired link type
      • {{lookupIssues}}

This will iterate through all of the issues linking each to the target issue.

Sofia Grunspan
Contributor
January 27, 2023

Hi! thanks for answer, I've tried what you suggested but It gives me this error. I've change the JQL an it still the same  Screenshot 2023-01-27 111709.png

Mark Segall
Community Champion
January 27, 2023

Hmm - It may be having an issue with the Lookup Issues action outside the branch.  Maybe try this...

Between the Lookup Issues action and the branch, add:

  • ACTION: Create Variable
    • varTarget
    • {{lookupIssues}}

 

Then adjust your link issue action to use {{varTarget}} instead of {{lookupIssues}}

Let's see if that fixes it.

Sofia Grunspan
Contributor
January 27, 2023

it worked!!! Thank you so much! 

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events