How to synchronize via API or Scriptrunner in Jira

Originally asked by Harold Oconitrillo on 17 April 2023 (original question)


Hi team!

We have the next requirement:

2 instances has 2 projects and some of the issues should be synced.

Having several problems here that making using exalate tricky.

1. Not all issues should be synced

2. We’re getting info that issues should be synced after issues actually created.

So we need a way to automatically say exalate liek please sync ISSUEA-100 on first instance and ISSUEB-12 on second instance.

We can do it manually, using ExalateConnectIssueOperation, where we can select connection and remote issue urn…

But is there a way to push that info it automatically, let’s say using Scriptrunner?

Please suggest a way to connect 2 issues with API or Scriptrunner.
I will create Exalate connection. But there will be no trigger that should push issues for sync, but we need that trigger to be external.