How to include sub-tasks in a filter

I have this filter to give me what was completed this week across a couple projects.  I only get the Tasks, but no Sub-tasks.  Anyone know how to get the done tasks and done sub-tasks?  I would want the done sub-tasks even when the parent tasl may still be open.

project in (project1, project2) AND status = Done AND resolved >= -1w AND assignee in (user1, user2, user3) ORDER BY "Epic Link"

Thanks,

 

Morgan

1 answer

0 vote

Are there any subtasks macthing this query? If you expect the subtasks that belong to all the tasks matching this query, that is not how it works.

Subtasks are just another issuetype and they will be returned in the result only if they match the conditions in the query. If you need subtasks from tasks matching to certain criteria, you will need a pliugin like JQL Tricks

Thanks!  I will look into that.  We're using the Cloud version...

Ann Worley Atlassian Team Apr 24, 2017

This plugin is compatible with Cloud and promises to "find issues by Link, work log, subtasks, comments, etc"

JQL Plus (Mongo Search)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

145 views 1 17
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you