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)



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,815 views 18 22
Read article

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