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
Next: Root
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
Hi Community! Hoping you can help me solve my blocking automation troubles. Thanks in advance!
I would like to perform actions based on Three Events:
Event One: Link Created - Issue B blocks Issue A
Event Two: Linked Removed - Issue B blocks Issue A
Event Three: Issue B blocks Issue A, Issue B now complete
Hello @Jaime Laird
Regarding Event one:
Closely review the information that is available in the Issue Linked trigger to understand which issue of the pair is considered the "source" and which is considered the "destination".
Issue linkedRule executes when an issue is linked to another issue. {{issue}} will always refer to the source issue, so if ISSUE-A is blocked by ISSUE-B, this rule will execute on ISSUE-B. To access ISSUE-A, use {{destinationIssue}}, and to access the link type, use {{linkType}} (e.g. {{linkType}}
Also look at the Audit Log for the rule execution. It will tell you which issue is the "source" and which is the "destination".
In my case I created a link between TTS-51 and TTS-49 such that TTS-51 is blocked by TTS-49.
The rule considers the issue on the right side of "is blocked by" to be the source issue, regardless of which issue you are actually in when you create the link.
Event Two and Three:
The above also addresses why your comment is not ending up in the expected issue.
So let's first make sure you have a clear understanding of the "source" and "destination" issue concepts related to linked issues, and get your rules structured correctly for that. Then we can talk about the extra conditions to check for other blocking issue relationships.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.