Atuomation: number of blocked issues not in Done is higher than 0 then skip action

Mateja Leskovec April 23, 2024

Hello, we have the following automation in place:


But if we have multiple blockers, completing just one triggers the automation. Is there any way we could modify the automation that all the blockers need to be completed before the rule is executed?

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 23, 2024

Hello @Mateja Leskovec 

Within the branch after the Status condition add a Lookup Issues action with the JQL:

issue in linkedIssues("{{issue.key}}", "is blocked by") and statusCategory != Done

Screenshot 2024-04-23 at 11.06.34 AM.png

That will find all the issues linked by "is blocked by" to the blocked issue, where the blocking issue is not in a status in the Done Status Category.

Then add a Smart Value to confirm that no issues were found by that action.

Screenshot 2024-04-23 at 11.08.32 AM.png

If this condition fails, then the blocked issue has blockers that are not "done", and the branch will stop processing that issue and move on to checking the next linked/blocked issue of the trigger issue.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2024

Hi @Mateja Leskovec 

Yes, Trudy's suggestion: you could also try using the same JQL with the Related Issues Condition to check there are no issues matching the criteria:

Kind regards,

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events