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

Ashwin Palekar November 3, 2017

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
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 3, 2017

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")

Ashwin Palekar November 8, 2017

thank u Jobin. This worked. 

Suggest an answer

Log in or Sign up to answer