Forums

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

How would I find Epics or Stories with no linkedIssues?

Steve Arrants February 5, 2021

I would like to find all Epics or Stories that don't have any Linked Issues.  Is that possible? 

I've tried, but get the message.  The field 'linkedIssue' does not support searching for EMPTY values.

2 answers

2 accepted

2 votes
Answer accepted
Paloma Fondon Araujo
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.
February 5, 2021

Hi @Steve Arrants 

You can try the following JQL:

project = "XXX" and issuetype in (Epic, Story) and issueLinkType is EMPTY

I hope it helps you.
Greetings

Sudarshan
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.
February 5, 2021

Hello @Paloma Fondon Araujo 
I checked your query but issuelinktype does not support "is".

the reason could be that it is an exhaustive list of values for it and there is no value like empty, hence you dont get any.

Hope I am correct.

Paloma Fondon Araujo
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.
February 5, 2021

Hi @Steve Arrants & @Sudarshan 

I have done the test in my environment and the JQL performs the filter correctly and finding those Epics and Stories that do not have any linked Issue, also "issuetypelinks" admits me "IS" value. Attached image:

Epics & Stories without links.PNG

 

I don't know if there is something that is not correct ...

Regards

Sudarshan
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.
February 6, 2021

ahh that is good to know, Sorry.

But I dont get it, to me when I use IS it does not work. :( 

Paloma Fondon Araujo
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.
February 6, 2021

Hi again!!! :)

Could you try the following JQL?

project = "XXX" and issuetype in (Epic, Story) and issueLinkType = null

I've tried it and it works for me too...

Regards

Sudarshan
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.
February 6, 2021

ahh ok ok, you are using Jira Cloud.

I checked in Server, so I suspect there could be some changes in the operators and maybe some upgrade in the functions.

Its totally correct :) 

Like Paloma Fondon Araujo likes this
0 votes
Answer accepted
Sudarshan
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.
February 5, 2021

Hi @Steve Arrants 
try this JQL - to get the list of Stories which are not linked to any Epic.

project = <projectname> AND issuetype = Story AND "Epic Link" = EMPTY
Steve Arrants February 5, 2021

That does help. I may be able to build on that. What I really need is to find all epics and all stories for a Sprint that don't have any issue links. 

Like Sudarshan likes this
Sudarshan
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.
February 5, 2021

try this 

project = <projectname> AND issuetype = Story AND "Epic Link" = EMPTY and Sprint in closedSprints()

 
If you want from a specific sprint then use Sprint = <sprint ID>

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events