Prevent transitions depending on the status of linked issues

Is there a posibility to prevent transitions of JIRA issues depending on the status of linked issues?

In JIRA there is the posibility to indicate issue links and indicate them as being blocked, FS-dependent, and so on, but as far as I have been able to find, it is up to the user to take that into account.

It would be beneficial if JIRA would assist the users in this aspect, both when starting work on an issue (e.g. not allowing the start when there are blocking issues that are not marked as resolved) as well as when using JIRA Agile (automatically include blocking issues in a sprint when adding a blocked issue, or preventing to add a blocked issue when not all blocking issues are included)

3 answers

1 accepted

0 vote
Henning Tietgens Community Champion Nov 13, 2013

You have to use a plugin for this. A very flexible way provides the Script Runner plugin and a script matching your requirements, but this involves some development. There are a lot of examples in the wiki of Script Runner.

Conditioned Workflow Functions for JIRA provides a Conditioned validator that can run a JQL query to determine whether or not to allow the transition to proceed. You could use a query similar to the following. Note that JQL currently doesn't allow you to search by specific link type (see JRA-25640):

issuekey in linkedIssues(%original_key%) and status is not resolved

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

772 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you