Hi @Vamsi Fragale,
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,
Best,
Hannes
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your project is company-managed, you may be able to display the issues using this JQL query in native Jira:
parentEpic in (EPIC-1, EPIC-2, EPIC-3, etc.)
This would only work if there aren't too many Epics, or if you don’t mind maintaining that list from time to time. The query will provide you the Epics as well as their issues and tasks under them.
With Hierarchy (an app that my team and I are working on), this is easily doable by just adding a Quick Filter with the following JQL:
issuetype="Epic" AND summary~"Prefix”
What this does behind the scenes is grab all your Epics which contain the specified prefix. Then, it displays all their children issues as long as you have the “Show all child issues” option enabled. Here’s an example with "User Experience" as the prefix:
If you need any help, feel free to reach out to me or our Support channel anytime, will be happy to help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I’m Charlotte, a support engineer at Appfire and I’m here to help you.
Unfortunately, natively, 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 get all stories under an Epic whose Epic summary has a specific prefix:
issue in childrenOfEpicsInQuery("summary ~ 'Test'") AND type = Story
Please contact our support if you have any other questions about this query.
We’ll be happy to help you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Vamsi Fragale
Such queries are not available OOTB.
Do you know if you have scriptrunner add-on available?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response, Kalyan, but no, we don't have scriptrunner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.