The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Mikael Sandberg
Community Champion
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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events