Filter Epics with no issues

Bryony Youngs November 4, 2015

How can I create a filter to show all the Epics which have no child issues?

1 answer

1 vote
Pablo Beltran
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 9, 2015

You are able to get it with the SQL for JIRA plugin.

 

select i.key
from issues i inner join issuecustomfields cf on cf.issueid=i.id 
where jql='type=Epic' and cf.epic_name not in (
	select distinct cf.epic_link 
	from issues i inner join issuecustomfields cf on cf.issueid = i.id 
	where jql=' "Epic Link" in sql("select key from issues where jql=''type=Epic'' ") '
)

 

I've tried it on my testing environment and it worked fine smile

Suggest an answer

Log in or Sign up to answer