Forums

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

JQL for issueFunction in hasLinks("is requirement of") to define

Asta Adamonyte August 8, 2022

Hello community!

How to find out issues with link "is requirement of", now this JQL gives "is requirement of" but also + all others as visible too. My goal is to get only "is requirement of".

Any hints? :) How to update this:

project = "ART" AND issueFunction in hasLinks("is requirement of")

 

2 answers

0 votes
Asta Adamonyte August 8, 2022

Thanks, my JQL works, just it shows additional links also and I would like to get only "is requirement of", not "clone", "clone of".

0 votes
Tansu Akdeniz
Community Champion
August 8, 2022

Hi @Asta Adamonyte 

It should search for issues that have the specified link. Can you please double check the result?

Please also check this doc: https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_haslinks

Tansu Akdeniz
Community Champion
August 9, 2022

@Asta Adamonyte understood.

Maybe it is not a good solution but you can add all other link types "...and issueFunction not in hasLinkType("...")" to the JQL in order not to see issues which have different link types. 

Suggest an answer

Log in or Sign up to answer