Hello,
Is there a JQL function (native or via Script Runner) that would allow to find all the issues that have all their SubTasks resolved?
Thanks in advance for your help.
Gianni
Hi Gianni,
Look at this asnwer JQL: Find all open issues of type "Issue Tracker" where all subtasks are closed or resolved
If you have script runner installed, a query like this will give you all the issues that have all their subtasks done.
issuefunction in parentsOf("type in subtaskIssueTypes()") and not issuefunction in parentsOf("resolution = Unresolved")
I tested it and it works for me.
Regards,
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Install scriptrunner and use the following query.
issuefunction in parentsOf("issuefunction in subtasksOf(\"issuefunction not in parentsOf('type in subTaskIssueTypes() and status != closed')\") ")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, this works too but in my case the one by Konstanting is more readable. Working on resolution instead of status of subtasks was fine too.
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.