JQL query to find issues of epics

I need a JQL statement that will find all issues linked to epics that have reached a particular state in their workflow. We do a fair amount of work in getting our epics set up before placing them into work in process and need to filter out the noise of epics in the early stages of their life cylce.

7 answers

0 votes
Tarun Sapra Community Champion Mar 23, 2014

"Epic Link" is not EMPTY and Status = " XYZ"

Thanks Tarun, but I see I should have been more careful with my wording. Not the status of the issue but the status of epic it is linked to. I don't know if this is possible but it would be more like.

"Epic Link" in (All Epics with status = "R&D Backlog")

Is there a syntax for the stuff in parenthesis?

0 votes
Maarten Cautreels Community Champion Mar 24, 2014

Hi Jay,

I'm afraid this isn't possible in OnDemand. For the download version there's a plugin called Script Runner. And do stuff like:

issueFunction in subtasksOf("project = XXX AND issuetype = Task AND status = Closed")

But I'm afraid that isn't possible on the OnDemand version (yet).

Best,

Maarten

Tarun Sapra Community Champion Mar 24, 2014

Hi Maarten,

Your answer will give subtasks but the question is about linkedIssues not subtasks.

0 votes
Tarun Sapra Community Champion Mar 24, 2014

Done -

issueFunction in hasLinkType("Epic-Story Link") and issuetype = Epic and status = "R&D Backlog"

Too bad you can't use the best JIRA plugin - script runner just becasue your using ondemand!

0 votes
Tarun Sapra Community Champion Mar 24, 2014

Done -

issueFunction in hasLinkType("Epic-Story Link") and issuetype = Epic and status = "R&D Backlog"

Too bad you can't use the best JIRA plugin - script runner just becasue your using ondemand!

I am trying to do something similar but I getting the following error. 

image2015-3-17 13:23:25.png

I tried other link types (blocks, cloners, etc) and they would fine.  Has anyone else seen this?

 

This is the JQL which I tried :

"Epic Link" = Epic ticket(ABC-12, which is Epic).

 

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,000 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot