hi community,
i have a problem, on main ticket and subtask, in JMWE post function "Transition Parent Issue Post-function"
where in 1 ticket, when I have more than 1 subtask, the main ticket doesn't go to the final status which is "Passed"
is there a groovy script in Conditional execution to create a condition where if all the subtasks have been done, the main ticket is also done?
Can someone help with the syntax for the Conditional execution in JMWE ?. Thank you
you can use something like this:
parentIssue.subTaskObjects.every{it.key == issue.key || it.get("status").name == "Closed"}
You'll just need to replace "Closed" with the name of the "done" status of sub-tasks.
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.