JQL to show everything linked to my EPICs



I am new to JIRA (and even newer to JIRA administration). I have a Kanban board that should show all issues for my project and all issues from other projects that are linked to it via the "Epic Link" field.


To do this, the JQL for my filter looks like:

project = MyProject OR "Epic Link" in (MyProject-1, MyProject-2, MyProject-3) ORDER BY Rank ASC


This works fine but eventually I will create more EPICs for mly project and I do not want to have to go around modifying my filters every time. (I will forget or it might not be me that creates the new EPIC.)


Is there a way to put a sub-query in the statement to return all the EPICs of the project so I can add EPICs to my project without having to modify my filter all the time?


Thanks in advance.

1 answer

0 votes

If you have a plugin like JQL Tricks, you can write generic queries to find issues issues linked to Epics that matches certain criteria.

See issuesWhereEpicIn function at http://www.j-tricks.com/jqlt-links-functions.html. 

Thanks, Jobin, that looks interesting and definitely something to foliow up.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,097 views 4 9
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