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
You can use the condition tester to see why it always returns false -
https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-ConditionTester
https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-PowerAssertions
You can try with script runner scripted condition:
def links = issueLinkManager.getInwardLinks(issue.getId()) def link = links.find{it.issueLinkType.name == "Cloners"} link.getSourceObject().statusObject.name == "In Progress"
This sample is for a link type "Cloners", so replace it with the proper link type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.