Hello !
I've got the script runner plugin on JIRA 5.1.
I'd like to find the right query to find all issues that have ALL their subtasks resolved.
Any idea with just the JQL and/or this plugin ?
Many thanks in advance.
Sam.
Hi,
I am using the latest version of Script Runner (3.0.5), I do not know if the function I am using is available in your version. In any case, this seems to do the trick:
edit:
I updated the JQL to simply return all issues that have subtasks and are not in the set of issues that have a subtask that is not resolved.
issueFunction in hasSubtasks() AND NOT issueFunction in parentsOf("resolution is empty")
Regards,
Geert
For the record, Geert's answer helped me in finding a solution :
project = XXX and (issueFunction in hasSubtasks() and issueFunction not in parentsOf("resolution is empty"))
Thank you.
Kind Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Geert,
I have the 2.1.15 version of the script runner. The function do exists, but this query gets all issues that have at least one resolved task.
Thank you in anyway,
Met vriendelijke groeten.
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.