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
- Actions:
- Issue A status transitioned to "Blocked"
- Comment added to Issue A "This issue has been linked as blocked by Issue B. This issue has been automatically transitioned to "Blocked" status.
- My attempt:

- Issues with my attempt:
- The comment is pulling Issue A, when the intent is Issue B

Event Two: Linked Removed - Issue B blocks Issue A
- Actions:
- Issue A status transitioned to "Ready to Start"
- Comment added to Issue A "This issue was previously 'blocked' by Issue B, but this link has been removed. This issue has automatically transitioned to "Ready to Start" status.
- Note: this automation should also test first that the Issue A is not blocked by any another incomplete Issues first. If it Issue A is blocked by other incomplete issues, Issue A status should remain "Blocked" with no comment
- My Attempt

- Issues with my attempt:
- The comment is pulling Issue A, when the intent is Issue B
- I am unsure how to solve for the check if blocked by other issues requirement
Event Three: Issue B blocks Issue A, Issue B now complete
- Actions:
- Issue A status transitioned to "Ready to Start"
- Comment added to Issue A "This issue was previously 'blocked' by Issue B, but that work is now complete. This issue has automatically transitioned to "Ready to Start" status.
- Note: this automation should also test first that the Issue A is not blocked by any another incomplete Issues first. If it Issue A is blocked by other incomplete issues, Issue A status should remain "Blocked" with no comment
- My attempt:

- Issues with my attempt:
- How should I structure the comment to dynamically pull in Issue B?
- I am unsure how to solve for the check if blocked by other issues requirement