block "Start progress" from parent issue until "start progress" child link issue

We have configured Preventing parent issue from being closed until child linked issue status is closed using "Jira Workflow Toolbox" plugin. It is working perfectly. It is working for "Resolved", "Stop Progress" transition also. But is not working for "Start Progress" transition. We need to configure this for "start progress" transition. I.E - test1 is parent issue and test2 child issue. Noybody can start progress test1 until start progress test2. Could you please suggest

2 answers

You can try with script runner scripted condition:

def links = issueLinkManager.getInwardLinks(issue.getId())
def link = links.find{ == "Cloners"}
link.getSourceObject() == "In Progress"

This sample is for a link type "Cloners", so replace it with the proper link type.

After configuring this "Start Progress" transition not showing from screen. Could you please suggest ?

This is how conditions work - if the condition results to false it is not shown. If you want the transition to be shown and still forbidden then use validator instead condition. The code for the validator should be the same.

I have configured this in script validator. But after that start progress not working both parent and child issue. Both the issue showing error message while start progress -"Its depends upon child linked issue"

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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

275 views 3 11
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