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

Accepted Answer
0 votes

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
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,756 views 14 13
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