Forums

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

Find work items without a specific link type

Mark Anderson
Contributor
June 25, 2021

We are using Next-gen and have XRAY and Enhanced Search.

With Enhanced Search I can find all Test Cases for a Story by looking for link type "is tested by".

But what I want now is to find all Stories (with some specific criteria) that do not have a link of type "is tested by".  Ideally I'd be able to specify other criteria about the linked items as well, but that is a nice to have.

Jira has this

issuetype = story and issueLinkType is EMPTY

 

what I'd like is something like this (pseudo syntax)

issuetype = story and issueLinkType (of linktype "is tested by") is EMPTY

 

Suggestions?

1 answer

1 accepted

1 vote
Answer accepted
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.
June 25, 2021

Hi @Mark Anderson 

How about this:

project = myProject
AND issueType = story
AND (
issueLinkType != "is tested by"
OR issueLinkType IS EMPTY
)

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-fields/#Advancedsearchingfieldsreference-issuelinktypeIssuelinktype

Best regards,

Bill

Mark Anderson
Contributor
June 25, 2021

Yes, I don't know why I had trouble with that.  I think I tried "is tested by" but I was not realizing I needed the "or empty" part to get any results, Stories that have links that aren't 'is tested by'.  I know that you need to use the "empty" check for other situations, like null checkboxes.  I just didn't see how it applied here.

thank you much,

Mark

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events