JIRA Query (JQL) to filter those issues within a certain set of EPICs

Arjun July 1, 2015

I am currently editing the Quick Filters of my Agile project in JIRA. And I need one where I see all the issues from a given set of epics. I am using something like

"Epic Link" in (ABC-1, ABC-18)

where ABC-1, ABC-18 are my epics. The problem with this is that I need to update the query everytime I add a new epic. Instead, I am thinking if there is a way of getting the list of epics that I care about via another search and merging the two into another query.

So for instance I have all the EPICs that I am interested (1, 18) with components set to "XYZ". So I want to do something like

"Epic Link" in ([Get list of EPICs with component XYZ])

How do i do this?

1 answer

1 vote
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

You can do it with ScriptRunner's JQL functions, in your case:

issueFunction in linkedIssuesOf("component = XYZ", "is Epic of")

docs: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-MoreComplexExamples

Arjun July 2, 2015

I see the following. "Field 'issuefunction' does not exist or you do not have permission to view it." What would I need to do?

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2015

Did you install the ScriptRunner plugin from marketplace? This plugin provides those functions.

Suggest an answer

Log in or Sign up to answer