You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
I'm trying to create a filter that pulls issues of a certain epic type. Currently I have:
Project = Proj123 AND "Epic Name" ~ "Outage"
This pulls in epics that have Outage in the name, but not any of the stories or tasks in that epic. I also tried:
Project = Proj123 AND "Epic Name" ~ "Outage" AND issuetype != "Epic"
but then nothing gets pulled. This same jql works for an automation but not for a filter. Any reason why or should I be pulling it differently?
unfortunately, this is trickier than one might think; as a "hierarchical query", it would really require some kind of join or subquery, which isn't available in plain Jira/JQL.
A few directions forward:
If you want to run your search dynamically, without manually "stitching" two queries together, you'll need extra tooling:
Hope this helps,
Just to expand on the last point, this is how this would look in the app that my team and I are working on, JXL for Jira. Put simply, you'd create a sheet with all issues that are potentially relevant to you, enable the default issue hierarchy (that's just one click), and then use JXL filtering capabilities to narrow down to the issues that you care about:
Once you have your list of issues, you can work on these directly in JXL (much like you'd do in e.g. Excel or Google Sheets), trigger various operations in Jira, or export them for further processing.
Any questions just let me know!
I’m Charlotte, a support engineer at Appfire and I’m here to help you.
Unfortunately, using vanilla JQL, you’ll not be able to do it dynamically.
In the app where my team works, JQL Search Extensions for Jira, you can use this query to find the Epics that have Outage in their Epic Name and their children:
project = Proj123 AND "Epic Name" ~ "Outage" OR issue in childrenOfEpicsInQuery("project = Proj123 AND 'Epic Name' ~ 'Outage'")
Please contact our support if you have any other questions about this query.
We’ll be happy to help you!
If you want all the Stories/Tasks and Subtasks under an Epic you can use:
parentEpic in (KEY-1, KEY-2)
Where KEY-1 and KEY-2 are the keys of the Epics, you can add more of course.
If you want only the Stories/Tasks you can also use
"Parent Link" in (KEY-1, KEY-2)
The main problem is that you cannot use the Epic Name to find the children of the Epic but you need to use the key.
I hope this helps