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
you can include subtasks in filters without a plugin... here is an example that works - we used components to segregate boards on PROJECTNAME:
project = PROJECTNAME AND component = COMPONENTFORFILTER OR issueFunction in subtasksOf("component = COMPONENTFORFILTER ") ORDER BY Rank ASC
the question doesn't mention OTB as a requirement - just that a solution is required. I believe I answered the question with yet another option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Cathleen, this worked a treat for me.
e.g. for others:
AND Component = Finance or issueFunction in subtasksOf("component = Finance")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems can't find subtasksOf function today in (2021), also write a comment about the alternative:
https://community.atlassian.com/t5/Jira-Software-questions/Re-Re-JQL-to-show-all-issues-and-subtasks-in-an-epic/qaq-p/1850003/comment-id/168416#M168416
tl;dr
linkedissue = SAPP-10885 OR linkedissue = SAPP-10787
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
I was able to filter subtasks from an issue using:
`project=MYPROJECTKEY AND parent=KEY`
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! I will look into that. We're using the Cloud version...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This plugin is compatible with Cloud and promises to "find issues by Link, work log, subtasks, comments, etc"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it seems you have to buy a plugin to do many basic things in Jira. I'm glad Atlassian is investing in new technologies, but I wish they would go back and address so many of the simple things that instead get resolved by third parties.
I've wasted countless hours searching for solutions only to find I need to buy a plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Example, I want to query all sub tasks of a given issue type. I have to write and maintain a list of parent keys ex. parent in (xxx-1, xxx-2, etc.) or pay for another plugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Updating here - there is now a simple way directly without any plugins.
Just add a filter on issuetype = Sub-task
For example:
issuetype in (Epic, Bug, Sub-task)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi all,
I am using jql query that ı sharing below for showing subtask, may be it can useful for you.
project = PROJECTNAME/CODE AND issuetype in (standardIssueTypes(),subTaskIssueTypes()) ORDER BY Rank ASC(or you can order issues with different parameter)
Also you can user this query for multiple project with "in" operation for project parameter.
I hope it will work for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have found more practical solution:
You will get JQL like:
issueKey in (ABC-111,ABC-222,ABC-333,...)
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi community!
This is an old question but I'm sure this answer is helpful today.
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
After you install the app, you can simply search:
issue in subtasksOfParentsInQuery("project in (project1, project2) AND status = Done AND resolved >= -1w AND assignee in (user1, user2, user3)")
Check out the documentation for more examples.
I hope this helps!
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sub tasks is a major defect in Jira I think. always makes for confusion and problems. would be better if stories could hold tasks
epic -> stories -> tasks
simples.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I have the same issue in Jira Next Gen, I cant filter based on Subtasks. Any help, please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here- seems to be a glitch of some sort. If I create a simple filter 'project = GSTA ORDER BY Rank ASC', I get subtasks. As soon as I add to the filter 'project = GSTA AND labels != Post_MVP ORDER BY Rank ASC' my subtasks disappear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Reason is, that the subtasks have no labels and are therefore excluded from the result when you filter by label...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.