JQL: How to filter by issue link value?

Shay Yadid Erez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2025

Hi, 
I'm using filters to locate tickets that have issues,
for example:
"Tickets that aren't linked to other tickets that contain "RDV" in their name".

So far the only thing I could create was a filter that locates tickets that have no linked issues...

I have tickets that linked to issues contain "SUP" and issues contain "RDV".
I want to locate all the tickets that has no linked issues that contain "RDV".
Tried to use !~ but it didn't work. any suggestions?
Can I filter for specific values?

Thanks

 

project = "SUP" AND type = Bug AND issueLink !~ RDV

 

 

1 answer

0 votes
Bharat Kalia
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 11, 2025

Hi @Shay Yadid Erez - Welcome to the community. Can you please try something like this - 

JQL - 

project = SUP  AND issueFunction not in linkedIssuesOf("Text ~"RDV"") and type = BUG

This will give you tickets that doesnot have "RDV"  in their linked tickets..but you will need scriptrunner for this. 

Thanks,

Bharat

 

Shay Yadid Erez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2025

Hi and thank you!
I've got the following error:
"Expecting ')' or ',' but got 'RDV'. (line 1, character 64)"

Bharat Kalia
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 12, 2025

@Shay Yadid Erez - If you have "Scriptrunner" plugin installed, then only this query will work. 

Please see below - Screenshot 2025-02-12 at 8.58.07 AM.png

Suggest an answer

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

Atlassian Community Events