Forums

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

I'm creating a filter, but apparently I can either see only subtasks or main tasks, but not both?

Fernando Brandao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 12, 2024

Hi! :) I'm creating a filter (reports) and apparently if I get a template that contains sub tasks, there is nothing I can do to be able tosee the main task where that sub task is, or the other around is the same, if I get a template that has the main task, I can't see sub tasks in it. Am I doing something wrong?

3 answers

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
August 12, 2024

Hi @Fernando Brandao,

Welcome to Atlassian Community!

Correct, out-of-the-box JQL cannot do nested queries so that you can get the parent issue with its children, unless you specify the parent issue in your query. You would need an app from the Marketplace that extends JQL in order to do it. I have used JQL Tricks and Extended Search in the past to do this, and I know that you can do this in Structure as well.

1 vote
Prosper Agwegiokhe
Contributor
August 12, 2024

Hi @Fernando Brandao ,

I’m Prosper, a support engineer at Appfire, and I’m here to help you.

As @Mikael Sandberg as said, unfortunately natively, you’ll not be able to do get your desired result.
In the app where my team works, JQL Search Extensions for Jira, you can use this query to find the main task and the children of task in question:


issue in childrenOfEpicsInQuery("key = '{mainTaskKey}'") Or key = '{mainTaskKey}'

Please contact our support if you have any other questions about this query.
We’ll be happy to help you!

Best regards,
Prosper.

0 votes
Dexter de Vera
Community Champion
August 12, 2024

Hi @Fernando Brandao ,

Welcome to the Atlassian community.

Sorry, I'm confused about your question. Can you show us the screenshot of the created filter with JQL. Are you trying to filter all subtasks and main tasks? what kind of report are you using?

Thanks!

.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events