JQL: How to reference a set of Epics; all those within a project.

I have needed to create a filter that returns a list of issues that belong to Epics NOT included in the project in question (and to repeat this for multiple projects). I have succeeded in doing this by manually excluding each Epic:

 

project = "bFO Sales" AND issuetype = Story AND "Epic Link" not in (BFOS-46, BFOS-45, BFOS-47, BFOS-55, BFOS-48) ORDER BY priority DESC, updated DESC

 

The problem with this is that if a new Epic is created then the filter will be out of date until such time as the new Epic key is added to the list in the brackets. With many examples of this kind of filter in out rapidly evolving landscape, this is impractical.

Therefore, I am looking for a way (something to put in those brackets?) to reference all Epics that are within a project.

Any help would be much appreciated.

 

1 answer

Hi Max,

Unfortunately, for JIRA Cloud you cannot use custom JQL functions (as the ones defined by ScriptRunner for JIRA Server) and there is no way to achieve the functionality you want with the basic JQL functions (you may see the available operators for the epic link field here)

Regards,

Peter

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,175 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot