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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

219 views 2 11
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