Hi,
I am looking to create a JQL that will allow me to find all the stories that are linked to a set of Epics that have a specific label. These Epics will continue to be created, so I cannot enter the Epic Name/Key within the filter.
Example
Epic: ABC-123 (label of ABCD1234)
Story: ABC-124 (no label)
Story: ABC-125 (no label)
Story: ABC-126 (no label)
I want the query to return those stories. We are likely to have approximately 50-80 Epics with the label 'ABCD1234' so cant list them all.
@Adam Waites I think this is not possible with the native functionality because you will need to run subqueries. If you are open to purchasing an app then this should be possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Adam Waites
I’m Charlotte, a support engineer at Appfire and I’m here to help you.
Unfortunately, using JQL of Jira, you’ll not be able to do it dynamically.
But with JQL Search Extensions for Jira, you can use this query to find all stories within Epics that have a certain label:
If it's a parent-child relation
issue in childrenOfEpicsInQuery("labels=ABCD1234") AND type = Story
Or this one, if it's a linked issues relation
issue in linkedIssuesOfQuery("project=ABC AND type=Epic AND labels=ABCD1234") AND type = Story
Please contact our support if you have any other questions about this query.
We’ll be happy to help you!
Best regards,
Charlotte
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.
Hi @Adam Waites
Using Colored Label Manager you can see at a glance how often labels are being used
and Manage your labels globally or per-project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Adam Waites
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:
Hope this helps,
Best,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.