Hi All,
I am looking for a scriplet to put in the workflow of a subtask :
If all subtasks of Type X are Closed then parent should be moved to next stage. I am putting this condition in the workflow of Subtask of Type X, using the below condition, but it is not working:
issue.parentObject.subTaskObjects.findAll{it.issueTypeObject.name ="XXX"}.each{it.resolutionObject.name == "Closed"}
The parent transition occurs even if I close a single subtask of Type XXX, while I want this check to be performed for all subtasks of Type XXX.
Please assist
Hi All,
I am looking for a scriplet to put in the workflow of a subtask :
If all subtasks of Type X are Closed then parent should be moved to next stage. I am putting this condition in the workflow of Subtask of Type X, using the below condition, but it is not working:
issue.parentObject.subTaskObjects.findAll{it.issueTypeObject.name ="XXX"}.each{it.resolutionObject.name == "Closed"}
The parent transition occurs even if I close a single subtask of Type XXX, while I want this check to be performed for all subtasks of Type XXX.
Please assist
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.