Unable to query list of issues for a Epic - structure is Epic - Story->Issues.

We are evaluating using the JQL tricks plugin.

However, I am unable to get the query to show the results we need

Here is the structure we use inside JIRA

Epic -> [Story (Epic link in story points to Epic) -> Story contains Issues.]

Epic is inside Project= PM

Story and Issues  inside Project = Platform

I am trying to create a query that shows all the stories and subtasks for all Epics (that are open).

The linked query function in JQL only shows links, and does not show issues that are inside the Epic or Story.

How do I workaround that issue? Here is the query I am trying to use:

(issue in linkedIssuesInProject("PM")) OR (project = Product ) OR ("Epic Link" IS NOT EMPTY )

Thoughts? - Sorry, I am a bit new to JIRA - the solution might be obvious :-)

1 answer

1 accepted

0 vote

Ashwin, You can use the issuesWhereEpicIn function. Something like this:

issue in issuesWhereEpicIn("status = Open AND project = PM AND other_criteria_here") AND project = Platform

And, of course, you can use this along with other queries to search based on links, subtasks etc. For example, you can save this query as a filter and find all subtasks using the parent function.

issue in parent("above_query or a filter that you have")

thank u Jobin. This worked. 

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

54 views 0 3
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
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