You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I'm trying to use linkedIssuesOf to search for issues that are linked to a project contained in another Jira space. We have two spaces, one internal only and one for interfacing with customers. We are able to link issues between the two spaces such as "relates to".
The following code works since the project referenced is contained within the same space as the search:
issueFunction in linkedIssuesOf( "project = GTSE")
However, I receive the error, "The value 'OOB' does not exist for the field 'project'." when searching for "project = OOB" since that project is contained in a different Jira space. Any thoughts would be greatly appreciated.
If by "Jira space" you mean 2 entirely different instances, each on a different URL, then you will not be able to use JQL / Issue Search across them. It just won't work, Issue Search only runs on the same instance you execute it from.
Workaround may be if you fetch the remote issue links per issue in their json format (or through Java API), and then do a regular expression check on them to figure out whether they are linked to an issue from the other instance, and whether they are linked to a specific project.
In any case, none of which is available to do through Issue Search.
Aaaah but ScriptRunner has a nice function that can do this: https://scriptrunner.adaptavist.com/6.16.0/jira/jql-functions.html#_remote_issue_links
Works for me when trying this out with like
project = MYPROJ and issueFunction in linkedIssuesOfRemote("https://another.instance.com/browse/PROJKEY-*")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.