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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

82 views 0 5
Read article

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