JQL to show everything linked to my EPICs

Hi,

 

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 vote

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
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
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 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