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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.