Linked issues with restrictions

Is there a way to block an issue that is linked to another one until the original issue is fixed?

Thanks,

Mateo Prado

3 answers

Just can see a solution for the installed version of Jira based on Groovy Script Runner: https://studio.plugins.atlassian.com/wiki/display/GRV/Conditions#Conditions-Alldependentissuesneedtoberesolved
The maximum i can imagine under OnDemand would be some Javascript added to the announcememt banner which scans the DOM tree for linked issues, checks their resolution using REST Api and if there is any unresolved issue just hides the DIV element containing the workflow transitions

but would never would dare to post this as a serious answer since it can easily be bypassed ...

Hi Mateo,

You can do it easily using modules "Condition on linked issues" or "Validator on linked issues" from plugin JIRA Workflow Toolbox. I show you an example:

Let's suppose you want to block a certain transition when current issue is linked to another issue by an "is blocked by" issue link and linked issue is any status different from "Resolved" and "Closed". If you were going to use "Validator on linked issues" from JIRA Workflow Toolbox plugin you would use the following configuration (I use three screenshots to show the configuration screen and 1 to show the validator once configured):

CONFIGURATION SCREENS (3 screenshots):

TRANSITION ONCE CONFIGURED:

Regards,

Fidel Castro Armario

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 8 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

102 views 4 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