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 votes
Accepted answer

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.

Hi,

In https://bitbucket.org/amarkelov/andreymarkelov-atlas-plugins-utils/wiki/Home there is Links Validator. This validator checks that there are no linked issues in setted statuses. Add-On https://marketplace.atlassian.com/plugins/ru.andreymarkelov.atlas.plugins.utils

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

839 views 3 9
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