Block issue transition based on linked issues status

Caio.Queiroz October 17, 2023

Is there a native way to prevent an issue transition based on linked issue status?

I need to block the issue based on the linked issues status!

E.g: Issue only can be transitioned if linked issue is on DONE status.

1 answer

2 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2023

The default Jira can only block the transition if you have enabled the condition Sub-task Block condition. If you want to do it based on linked issues you would need an app like Scriptrunner which extends the conditions that you can add. There are other apps in the Marketplace that can do this so have a look there and see what you find.

An alternative would be to use automation, it would prevent you from transition the issue but you can add a check that moves the issue back to the previous status if there is a linked issue that should block the transition. As part of that automation you could add a comment to the issue and explain why the issue was transitioned back.

Caio.Queiroz October 18, 2023

Huge thanks for the tips @Mikael Sandberg !

I'll take a look into the marketplace apps and will try the automation!

Later I come back to tell if this worked

Like Mikael Sandberg likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events