Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

Scriptrunner - List Issues With Links To Other Projects


I'm trying to use ScriptRunner to identify all non-Done issues with links to non-Done issues in external projects.  So far, I have this.

issueFunction in hasLinks() AND statusCategory != Done


I can't find how to limit results only to links going to other projects and only to non-Done issues.


Bonus Points:

When showing the results on a Jira dashboard or Confluence, how would I show the project of the external issue?

1 answer

1 accepted

1 vote
Answer accepted
Roland Holban (Adaptavist)
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.
Apr 10, 2018 • edited

You could do something like this where PROJECT_NAME is the project name of the project you dont want.

issueFunction IN linkedIssuesOf("statusCategory != Done AND project != PROJECT_NAME") AND statusCategory != Done


Thanks.  This is essentially where I landed:

project = "myProject" and issueFunction IN linkedIssuesOf("statusCategory != Done AND project != myProject") AND statusCategory != Done


This will show me everything in myProject with links outside of myProject.

Jira has a Links column which shows the key but that's not very helpful without the linked project and linked summary.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events