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 votes
Accepted answer

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 Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

169 views 4 1
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