I am using Jira cloud. We have Scriptrunner Enhanced Search. I have 2 projects.
Project 1 - Lets call pr1
Project 2 - Lets call pr2
I have a list of pr1 tickets (pr1-1, pr1-2 etc) and out of these tickets, I want to find the tickets that have a link to pr2 project.
In my scriptrunner enhanced query, I am doing the following
key in (pr1-1, pr1-2) and issueFunction IN linkedIssuesOf("project = pr2")
I get 0 results eventhough pr1-1 has a link to pr2.
Anything wrong in my query ?