Is it possible to search JIRA for a list of subtasks whose parents are found in a different query?
Asked Answered
Q

2

7

I have a filter to return a group of parent tasks based on some criteria.

I can use this as a group of issues to search further using filter = FilterName What I would like to be able to do is to use this in the parent field search in something like

parent IN (filter = FilterName)

Is this possible?

Quidnunc answered 28/9, 2012 at 16:50 Comment(0)
D
1

The IN operator expects a comma-delimited list. While I'm not sure of a way to retrieve the information you're looking for solely using the built-in JQL, the question has been asked before and an answer was accepted based on using a plug-in.

Filter to show sub tasks of a filtered list of parent tasks

The good news is the Craftforge JQL plug-in referenced is free.

UPDATE: As Micky mentioned in the comments, this plugin is no longer free as of version 2.0 (16 Apr 2013)

Drawplate answered 23/10, 2012 at 16:14 Comment(3)
Is this possible without a plugin?Caducous
Bryan - the Craftforge JQL plug-in is no longer free.Vashtivashtia
Thanks for letting me know Micky. I updated the comment. I also noticed there's an open issue over at Atlassian for this. jira.atlassian.com/browse/JRA-18918Drawplate
W
1

The Scripted JQL Functions included with the free Script Runner plugin will let you do what you need.

For example:

issueFunction in subTasksOf("filter = FilterName")
Weltanschauung answered 29/4, 2014 at 11:53 Comment(1)
thanks to share it with us. This function solved my problem.Gilder

© 2022 - 2024 — McMap. All rights reserved.