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

0 vote
Dieter Community Champion Jun 07, 2012
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
0 vote
Dieter Community Champion Jun 07, 2012
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot