Forums

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

Sub-task not showing when filtering on labels

Giulio Orombelli November 24, 2021

Hi there, 

I've set up a filter like this:

project = "BIB" and labels in (AF) ORDER BY created DESC

The filter shows only stories but not sub-task, even if I've assigned AF as label to my sub-tasks.

 

What am I doing wrong?

Giulio

2 answers

1 accepted

0 votes
Answer accepted
Giulio Orombelli November 24, 2021

Forget my silly question, The JQL is correct. Apparently the labels weren't applied to the sub-tasks.

Thank you

1 vote
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
November 26, 2021

Hi @Giulio Orombelli,

With standard JQL, you can't get the subtasks based on their parents labels.

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

After you install the app, you can simply search:

labels=MyLabel OR issue in subtasksOfParentsInQuery("labels=MyLabel")

Check out the documentation for more examples.

I hope this helps!
Daniel

Suggest an answer

Log in or Sign up to answer