You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
With an Automation for Jira rule, 3 new issues are created when creating 1 specific issue.
These 3 issues are linked to the trigger issue.
But now I also want the 3 issues to be linked to each other.
How do I get this done?
Hey @Marco Brundel
This sounds easy but is a little complicated. I found one way to do it, someone else might be able to suggest a simpler way.
The rule needs to run sequentially so using branches isn't possible, we also need to refetch the trigger issue a few times.
Here's the rule and I'll explain some of it below.
The trick is once you create an issue link to refetch the issue so that you can then copy that link in the next issue you create. So issue 2 and 3 copy the existing issue links from the previous actions.
I'd also suggest using relates to as your link type. I didn't try with other link types because they have an inbound / outbound version (e.g. Blocks and Blocked by).
Hope that helps!
My situation is very similar but slightly different. I create an issue (manually), and then use automation to create 3 tasks.
Task 1: child of manually created issue.
Task 2: child of manually created issue and blocked by Task 1.
Task 3: also child of manually created issue and blocked by Task 1.
Even though I use the "Re-fetch issue data" function, and set the Link to the most recently created issue, the reality is Task 2 and Task 3 have links set to being Blocked by the initial trigger issue and not Task 1 like it should be.
Here are how the links are being set. Notice the Parent issue is blocking Tasks 2 and 3, and Tasks 2 and 3 should be blocked by Task 1.