Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,892
Community Members
 
Community Events
165
Community Groups

Filter out subtasks where parent task summary contains

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

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

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you