The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 Champions.
July 5, 2015

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

TAGS
AUG Leaders

Atlassian Community Events