Forums

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

How to Write a JQL That Ignores LinkedIssues of a Specific Issuetype

Kashif Saleem September 8, 2021

I'm trying to create a jql in jira cloud that returns all tickets in a specific status that are not linked to stories.

Any help would be much appreciated.

3 answers

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
September 14, 2021

Hi @Kashif Saleem, as others already posted, you can get approximate results with issueLinkType, or, if you happen to have our app JQL Search Extensions, you can use linkedIssueType extension:

linkedIssueType!=Story or linkedIssueType is empty
0 votes
Bill Sheboy
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.
September 8, 2021

Hi @Kashif Saleem 

I do not believe that query is possible with out-of-the-box JQL.  You would need a marketplace addon app for JQL/scripting to do it.  This would get you close, but it does not check the type of the linked issues:

project = myProject AND status = "In Progress" AND issueLinkType IS EMPTY

You could refine that if you know stories only use certain types of links.

If you only need this one time, you could try to export to a spreadsheet to perform the check.

Kind regards,
Bill

0 votes
Jack Brickey
Community Champion
September 8, 2021

insert your desired status

status = "to do" and issueLinkType is empty

Suggest an answer

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

Atlassian Community Events