Hello together,
Is there a way to search Epics and the related stories by defining a filter criterion for Epics.
So I'm looking for epics with the label "XYZ" and I want to see all epics with this label and the corresponding stories that don't have the label.
Epic and Stories are linked via Epic Link.
Is there a JQL for this?
Thanks a lot for the help!
Hi, @Felix Stepponat
Unfortunately, it's impossible out of the box. Here is a good example that might help explain options - JQL-Query-Sub-Tasks-Parent-Epic-or-User-Story
Basically you’ll need an add-on to achieve this. For example, scriptrunner can make it easily.
(issuetype = Epic AND labels in (test)) OR issueFunction in issuesInEpics("labels in (test)")
Hi Felix
There are different way you can get detail about your story and epic link.
1. JQL: Project = <ABC> and "Epic Link" = <Epic Name Link> and labels = <Lable Name>
2. The best way you can see complete over view through app
https://marketplace.atlassian.com/apps/1220703/panorama-lite-for-jira?tab=overview&hosting=cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Adeel Shoukat
It won't work for unspecified list of Epics, labels are set for Epic, not for issues in Epic. And @Felix Stepponat is using Server, not Cloud solution. Your plugin is only for Cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
welcome to the community!
as already suggested by others, 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
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'll create a new sheet with the issues that are potentially relevant to you, enable the default issue hierarchy (that's just one click), and then use JXL's filtering capabilities to narrow down to the issues that you're interested in:
Once you have your set of issues, you can work on these issues 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.
Since you've tagged your question for Jira Server: As you may have heard, app sales have ended for Jira Server. Are you planning to migrate to Data Center or Cloud? I'd strongly recommend that. If you need some more time, JXL is perfectly compatible with Jira Server; it's just that we need to generate a license for you. If the above looks interesting, just let me know, and I'll happily start a free trial for you.
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.
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.