It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted

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
Posted in Jira

How InVision centralized their tools and scaled their remote team with Atlassian and Slack

Hi Atlassian Community, We recently published a case study that we thought you might be interested in. Learn about how InVision built their fully remote company’s culture using Atlassian and Slack ...

259 views 0 1
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you