Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • How can we search (jql) for issues that contain certain field values for their respective epics?

How can we search (jql) for issues that contain certain field values for their respective epics?

Matthew Korich
Contributor
April 13, 2016

For example. I want to create a pie chart of all issues that have an epic defined and whose "roadmap" value is "2016-Q2" and partition by epic-time-remaining. Highly useful but currently not supported AFAIK by JQL. I can search overall, but "by roadmap" seems impossible for now.

project = FOO AND "Epic Link" is not EMPTY AND resolution = Unresolved ORDER BY <blah> ASC

Should be

project = FOO AND "Epic Link" is not EMPTY AND "Epic Roadmap"="2016-Q2"  AND resolution = Unresolved ORDER BY <blah> ASC

1 answer

0 votes
Nicolas Bourdages
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.
April 13, 2016

You need the advanced ScriptRunner JQL functions.

https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_linkedissuesof

Your JQL should look something like this:

Project = FOO AND issueFunction in linkedIssuesOf("roadmap = 2016-Q2", "is Epic of")

Just buy the plugin and play with it. It's awesome.

Suggest an answer

Log in or Sign up to answer