how do i search for issues without Issue Links


3 answers

1 vote
Steven Behnke Community Champion May 05, 2015

If you can use Script Runner add-on, you can run this JQL: 

issueFunction not in hasLinks()

This would return all issues without Linked Issues.

Hi Steven,


I'm just beginning using scriptrunner and your answer quite fit for my problems :)

Do you know how to filter some issue with no links to Yogi requirements in Confluence ?


The not in hasLinks filter all the links but the query with just the yogi requirements filter would be perfect !!


Thanks a lot for your help,


Best regards,



0 votes

Hi David, 

You can use the solution described on jira query: issues with linked issues to find linked issues, and just run something like: !(query to filter issues that contains links)

I'm not sure if it works, it's just an idea.

Thanks and regards,
Paula Silveira 

Hi Paula,

Unfortunately, there is no any argument to find those issues without links with your suggested way :) We can't find all issues with one single argument.

Hi David,

You can use the JQL below to find issues without links;

issueFunction not in hasLinkType('Link Type 1') and issueFunction not in hasLinkType('Link Type n')

 You can get your types from "Issue Linking" page. You need to update your JQL when you change/add/delete your types.

Kind Regards.

Serhat Gokturk

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,520 views 15 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you