The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I need jql to filter epics without linked issues under

Muddada Sunil Kumar - Vendor
June 12, 2025

Hi,

 

I need jql query to filter epics without linked issues under and "epic link" is also should empty I mean the filtered epics should not have any kind of linked issue either "EPIC LINK" issues also. I'm using below qurey.

Kindly help on this issue.

 

project = "My Project" AND issuetype = Epic AND "Epic Link" is EMPTY AND issueLinkType not in (blocks,"is blocked by",causes,"is caused by",clones,"is cloned by",duplicates,"is duplicated by","has to be finished together with","has to be done before","has to be done after","earliest end is start of","start is earliest end of","has to be started together with","split to","relates to","is related to")

 

Regards,

Sunil Kumar M.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Richard Cho
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 Champions.
June 12, 2025

Instead of enumerating every possible issue link type, you can just do issueLinkType is EMPTY

Also, the use of 'Epic Link' will be deprecated soon. You should instead be using the 'Parent' field instead (link).


Final query would be:

project = "My Project" AND issuetype = Epic AND Parent is empty AND issueLinkType = EMPTY

 

Muddada Sunil Kumar - Vendor
June 12, 2025

Hi Richard,

Thanks for the reply, but the query is not working 

 

Capture 1.PNG

Richard Cho
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 Champions.
June 12, 2025

@Muddada Sunil Kumar - Vendor sorry, you don't actually need that field. 

Try: project = "My Project" AND issuetype = Epic AND issueLinkType = EMPTY

Muddada Sunil Kumar - Vendor
June 12, 2025

Hi Richard,

The below query works, But we should have script runner.

project = "My Projects" AND issuetype = Epic and issueFunction not in hasLinkType("Epic-Story Link") AND issueLinkType not in (blocks,"is blocked by",causes,"is caused by",clones,"is cloned by",duplicates,"is duplicated by","has to be finished together with","has to be done before","has to be done after","earliest end is start of","start is earliest end of","has to be started together with","split to","relates to","is related to")

 

Regards,

Sunil Kumar M.

0 votes
Muddada Sunil Kumar - Vendor
June 12, 2025

Error Screenshot 1.PNG

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events