HI there!
I use groovy script runner v.3.1.4
Goal: need to check all the sub-task type "Approval Item" must have resolution type "Complete".
Currently i try with this:
issue.subTaskObjects.findAll{it.issueTypeObject.name ="Approval Item"}.any{it.resolutionObject.name == "Complete"}
But seems this is works incorrectly.
Can someone help me.
Please.
Remark: i raised this script from subtasks. So i changed this code, and this works fine for me.
Sorry for spam guys, hope may help someone else.
Here is it:
issue.parentObject.subTaskObjects.findAll{it.issueTypeObject.name ="Approval Item"}.each{it.resolutionObject.name == "Complete"}
You could use jql into issue navigator "issuetype = Bug and resolution != Done". And you will see all trouble issues. It is comfortable to have a filter which is used for gadjets and subscriptions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.