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

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

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

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

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

13,415 views 15 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you