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!

Tarun good find on the Epic story Link !

Is there a reference on the Data Types in JCL for Jira 

Please advise 

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 Sign up to answer
Community showcase
Published Feb 13, 2019 in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

603 views 0 12
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