Hello,
I searched atlassian-answer.
But, I could not find what I want
I want that ; when some sub-task is resolved, transition proceed. if not.
I tried a lot of
- issue.subTaskObjects.findAll{it.issueTypeObject.name = "Customer Report"}.every{issue.resolutionObject}
- issue.subTaskObjects.findAll{it.issueTypeObject.name ="Customer Report"}.any{it.statusObject.name ="Resolved"}
like these...
These nor working correctly.
how can ı do this ?
thanks in advance.
In both cases you should be using == not = .
Every and Any are diofferent as you can imagine.
In the 2nd closure in the first line you want "it", not issue. In the second line should be == (again).
If you get it a bit more correct then we can probably help further.
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.