Hey folks!
So I'm trying to put a query together to find Jira stories linked to epics that have a particular component ("ENABLEMENT" in this case). Something kind of like this:
IssueFunction in IssuesInEpics("Component = \"ENABLEMENT\"")
I've wracked my brain on it for hours now, anybody got a solution?
Thanks in advance!
Brandon
Hi @Brandon Toms ,
From my point of view, you already nailed it man! If you have ScriptRunner, there is a JQL Function called issuesInEpics so you can call it exactly like you mentioned:
issueFunction in issuesInEpics("Component = \"ENABLEMENT\"")
Are you stucking at another point? Can you please give more details if the problem exists?
Nope, that did it, I just had my syntax screwed up. :-D Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
... and 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:
(I'm using labels here, but it would work the same way with components, too.)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.