Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Scriptrunner filter/show issues with no linked issues


We’re currently testing the trial version of ScriptRunner. We’re running Jira Cloud and Service Desk. Our main use would be to filter different types of Service Desk issues with linked issues.


I’m trying to set-up a filter which would show only issues from Service Desk with no linked issues.


Since the Jira command “issueLinkType is EMPTY” doesn’t seem to work anymore, I have tried using this one in the Filters JQL field:


  • project = X and issueFunction not in hasLinks()


However, it doesn’t work, I get an error:

"Field 'issueFunction' does not exist or you do not have permission to view it."


What kind of query should I write? Are there any other functions which work similarly?


2 answers

Hi nota that issueFunction is provided by Script Runner, so please ensure that Script Runner is already installed on your system.


Alternatively, you can also use JQL Booster Pack  and type the following using the Advanced Search feature:


1) Show issues with no linked issues


project = X and issue NOT IN hasLinks()

(*) Note that this is just an example, you must tune above query to fit your needs.


Using this app you can also query other issues relations, check:





Hi Fab,

I can confirm the error which you are getting with the hasLinks keyword in *ScriptRunner for Jira Cloud is the known error shown inside of the Knowledge Base Article located here.

As hasLinks  is a JQL Keyword inside of ScriptRunner for Jira Cloud you do not call it using issuefunction and you can see an example of how to use the keyword in the Knowledge Base Article linked above.

I hope this information helps.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

492 views 6 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you