Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,059
Community Members
 
Community Events
168
Community Groups

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

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

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 Leader Aug 08, 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 Leader Aug 09, 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