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?
Regards, Marco
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!
- John
Hi @JD ,
Thank you. You just gave me the right tip and now I have the rule working. Only with the 1st create I don't do a create action. Thanks again.
Regards, Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Any suggestions?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Removing my answer as it did quite work as expected. I'll edit a fix if I can manage it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.