Done/Resolved Epics with UnResolved/NOT Done Issues (Story/Task/etc.)

Alex Lithgow April 16, 2020

I want a view of Epics that are Done/Resolved but the Issues in that Epic are NOT Done and Unresolved.  This seems to be very hard for me to do, even with the opposite below.

Any help is much appreciated!

 

 

This would be something similar to below answer from @JamieA  but also different. 

This is tricky but doable. But you need the jql functions from the script runner plugin (couple of other plugins can do similar to be fair).

The query is like this:

status != Done and 
    issueFunction in linkedIssuesOf("status = Done", "has epic") and 
    not issueFunction in linkedIssuesOf("status != Done", "has epic")

To translate this:

status != Done: Find epics that are not done. You might need to change the status names

issueFunction in linkedIssuesOf("status = Done", "has epic"): This is the tricky but... find issues that have a "has epic" link to an issue with status = Done.

not issueFunction in linkedIssuesOf("status != Done", "has epic"): Even harder here is the requirement that all the linked issues must be Done, so we filter out any epics that that have stories that are not done.

Not the sort of thing you could expect a user to do but you might be able to set it up for them.

1 answer

1 vote
Jack Nolddor _Sweet Bananas_
Atlassian Partner
April 16, 2020

Hi Alex,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:

 

1) Search for resolved Epics having unresolved issues

resolution IS NOT EMPTY AND issue NOT IN epicsOf(' resolution is EMPTY AND "Epic Link" IS NOT EMPTY ')

(*) Note that this is just an example, you must tune above query to fit your needs. e.g. Use issueFunction keyword instead of issue if you are using Script Runner

 

Using this app you can also query other issues relations, check:

 

References:

 

Hope this helps you to create awesome queries <3

Alex Lithgow April 17, 2020

Thank you @Jack Nolddor _Sweet Bananas_ .  I need to use native Jira search but i'll keep that in mind in case something changes in future. 

Suggest an answer

Log in or Sign up to answer