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
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

77 views 0 3
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