syncrhonize issues in two instance usin Api Rest / Webhooks.

Sergio _ April 16, 2019

Hi 

Is it possible to create an issue and replicate it in a remote instance? 

And If any of the two tickets changes their status, then the other ticket must be updated automatically with the same status or another status.


it can be doing with webhooks? Or I need a plugin?

thanks in advance.


2 answers

2 votes
Riddhi Shah
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.
April 19, 2019

Hi @Sergio _ ,

As @Earl McCutcheon  just mentioned, it might be best to use a sync-tool for this.

I'm part of the Exalate team, a synchronization solution for Jira to Jira integration.

Exalate will allow you to sync information bi- and uni-directionally between your multiple Jira instances.

It's mega flexible, so you can sync all types of information, like workflow status. But it even includes the option to sync transitions, comments, attachments, custom fields, etc. You can control what to sync, what not, who to sync it with and much more ....

I hope this answer helps. 😃 

1.pngCheers,

Riddhi

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 18, 2019

Hi Sergio,

Syncing issues between two instances of jira is best done with a plug-in, as it is not a trivial task to manage manually.  If you are doing this via API calls between the instances it has a potential to be interrupted over the network and become out of sync very quickly.  Also actions done out of sync at the same time can cause disruptions as well, as an exe two users on each site do two different actions at approximately the same time, whoever completed the action first will have the action complete correctly and the other will fail, and the issues could wind up in two different states on the instances.

Luckily there are a lot of add-ons to choose from here, check out the following link for a quick filter on some syncing add-ons on the marketplace:

But for native functionality managing multiple instances it is recommended to compartmentalize the data on each instance independently, and use links between the instances over applinks to connect related issues on the separate sites, the guide "Federating Jira - managing multiple instances" goes into more detail on this process.

Regards,
Earl

Suggest an answer

Log in or Sign up to answer