Prevent a blocked issue from transitioning until the blocker is 'Done' without script runner

Ashley Leger March 20, 2022

Hello, I'm looking to prevent an assigned user from starting work on a blocked issue until the issue blocking it is completed.  Ideally, would want assignee A to complete the issue, and once the status is "Done/Resolved/Closed", this would notify the user of the blocked issue that they can begin work.

Is there anyway to do this in JIRA cloud, scrum board, without script runner? 

When creating a story, you have the option to link issues and determine which ones are blocked by which, but they seem to have no actual functionality (i.e. only informational to user; can still complete the other tasks first before completing the prior tasks that are "blocking" them from starting). 


example.PNG

Thank you! 

1 answer

1 accepted

0 votes
Answer accepted
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 26, 2022

Hi @Ashley Leger 

There's not a Workflow condition for this - but I can think of a workaround...

  • Create a checkbox custom field - such as Blocked?
  • Use Automation to populate/NULL this field - i.e...
    • If Issue A blocks Issue B, and A is open - populate Blocked?
    • If Issue A blocks Issue B, and A is closed - NULL Blocked?
      • This rule could also notify the user via an email or comment action that B is ready to be worked on
  • Set Value Field condition(s) on all possible transitions from the first Status - blocking the transition unless Blocked? is NULL

Do you think this would work for your scenario?

Let us know, or if you would like any more specific instructions for the above!

Ste

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events