I'm trying to figure out a filter that shows all issues for an Epic but their subtasks is not showing, currently the filter looks like:
issuetype != Epic AND "Epic Link" = GUMK-5 AND project = GuideMaker ORDER BY Rank ASC
Is it possible to get the issues subtest also? Which now does not show
Yes there is several
Here is post from Senior Product Manager on https://community.atlassian.com/t5/Jira-Software-questions/JQL-to-show-all-issues-AND-subtasks-in-the-Epic/qaq-p/346433
As part of the migration of Tempo Timesheets to a new technology platform, the
tempoEpicIssues() JQL function is either already removed or will be removed soon (depending on whether your instance has a license for Tempo Timesheets).
However, I'm pleased to announce the
parentEpic function is now available in JIRA Cloud as a replacement. Searching with
parentEpic will return all the issues in the specified epic(s) AND their sub-tasks. The syntax is a little bit different than a standard JQL functions – it's more like searching with a field. So
project = JRA and parentEpic = JRA-123
will return all issues and sub-tasks in the JRA project that are in the JRA-123 epic. The function also supports the
!= , IN , and NOT IN operators. So you could also search something like
project = JRA and parentEpic in (JRA-123, JRA-456)
and you will get all issues and sub-tasks in either the JRA-123 or JRA-456 epics.
Refer to the documentation for more information. Happy searching!
Senior Product Manager, JIRA
I am trying to create a filter that will pull in all stories, tasks, and subtasks within an epic. I do not have the parentEpic function. (I do, however, have Parent and Parent Link.)
Is there plugin-free workaround to pull in subtasks without the parentEpic function?
"Epic Link" applies to stories, tasks, your standard issue types. "parentEpic" will find both standard issue types and subtasks.
I'm not aware of a way to nest JQL queries, alas! So I would do this in two steps. First, find the epics in your project:
issuetype=Epic and project=XXX
Make a note of all of those ticket keys.
Then to get all stories, tasks, and sub-tasks that belong to those epics (without recapitulating the epics themselves):
parentEpic in (XXX-1, XXX-2, XXX-3) and issuetype not in (Epic)
where XXX-1 etc. are the keys that you identified in step 1.
I know about this way, but thanks a lot for bringing it again, I'm not looking for it, because as you mentioned you need to note all of the tickets, and I'm looking for a generic way, which would work across all Epics in a project.
Something like give me all tickets linked to all Epics in XXX project
If you are using Jira server, you might want to try out our add-on to get your complete Epic Hierarchy.
It will provide you the below features
Due to Why do subtasks disappear when I filter my board using Epic Links, you can't.
In my case I use AM Utils (free add-on) to search all issues and subtasks on it:
A simple example:
issuekey in (issuesSubtasks("'Epic Link' = XXX-99")) ORDER BY Rank ASC
With this I can make boards that swinlanes with stories or projects besides the Epic Link.
I can't understand Why it does not work for me.
I have a similar issue, Defined the Epic 5 epic and lots of subtasks.
I now want to search for all the subtasks of an Epic but nothing is returning
My Query is :
project = DCPW AND type= Story and parentEpic = DCPW-8 ORDER BY key ASC
One thing to mention when I have the cloud version and when I created the Epic, there were no mandatory fields. So I have to add the Epic name in Configuration later on in the hope that it will help with my search.
I simply adjusted the JQL on the JIRA filter from Epic Link = JIRA-1234 to parentEpic = JIRA-1234, and this worked for me.
This is a real game changer for returning more accurate results to include sub task issue types tickets as well as the standard issue type tickets.
This is especially useful for time tracking. We have JIRA users that sometimes log their work on sub-tasks associated to the Epic, and for those tickets to populate the "Time Reports" Add on, you must adjust your JQL from Epic Link to parentEpic for any sub-task issues to populate the time report.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events