Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Filter out subtasks where parent task summary contains

Jonathan Rauscher May 4, 2022

Hi,

 

As the subject suggests, I want to exclude any subtasks from my JQL filter where said subtasks are part of a parent task whos summary contains a certain string.

2 answers

0 votes
mauricio.groth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2022

Hi @Jonathan Rauscher,

As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.
With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.

Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions

 

This query will display subtasks that are part of a parent task whose summary contains a certain string.

 

issue in subtasksOfParentsInQuery("summary ~ test”)

 

Check out the documentation for more examples.
I hope this helps!
Maurício

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 4, 2022

Hi @Jonathan Rauscher 

You cannot do that with out-of-the-box JQL, as it cannot perform such nested queries or joins.  For possible work-arounds:

  • If you need this search just once, try running the query in steps: find the parents matching your summary text, grab their keys, and then find their children with parent IN (taskKey1, taskKey2...)
  • If you need this search often, investigate marketplace addons for JQL to support this.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer