Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Filter to include Parent Tasks & Sub Tasks

Shahzad Iqbal
Contributor
November 29, 2024

Hi 

I want to make a Jira Filter which can Extract Information like Parent Task & it's Sub-Tasks as well (whether Assigned or Not) e.g.,

Task 1

Sub-Task 1

Sub-Task 2

Sub-Task 3

 

I have made following jql query for it 

 

(issuetype IN standardIssueTypes()

or issuetype IN subTaskIssueTypes())

AND createdDate > "2023-12-31"

AND status Not IN ("Closed", "Canceled", "Resolved", "Done",  "To Do")

ORDER BY created DESC

 

 

This query returns Sub-tasks, but the Parent Tasks are Missing.

 

Any idea 

Thanks 

Regards

Shahzad Iqbal

1 answer

1 accepted

2 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 29, 2024

Hi Shahzad,

I just tried this and it worked:

(issuetype IN standardIssueTypes()

or issuetype IN subTaskIssueTypes())

AND createdDate > "2023-12-31"

If you just do that part, does it work? 

Shahzad Iqbal
Contributor
November 29, 2024

Hi @John Funk 

Yes, that works 

Thanks 

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 30, 2024

Great! Glad to hear and you are welcome!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events