问题
Our company uses Redmine to track tech support issues, but sometimes these issues are escalated to the outsourced development team, who has their own Redmine.
Has anyone ever found/written a sync between the two, so that a pair of issues can be synced: a change in A creates a change in B. I can't seem to find any guidance via Google.
These two Redmine installations are on separate webservers with separate databases.
回答1:
I had a client asking about this and the only way we could think to do it was to create a plugin to send issues back and forth using the REST API. We haven't started the project yet so there isn't anything I can share about it.
回答2:
In order to achieve your goal you must use the REST API of the Redmine. You can write a script to sync them. You could make to sync two Redmine servers in minutes without writing a single line of code. There is service called Zapier that makes it easy to connect a web service to another web service seamlessly with a lot of options. You should check it out: http://zpr.io/gmXF
回答3:
You can implement a simple sync using Redmine Java API http://code.google.com/p/redmine-java-api
There's an application, which can load data from one Redmine and save to another one - http://taskadapter.com , but it only supports interactive (manual) sync, no "daemon syncs".
回答4:
Another possibility might be Ruby Replicate: http://www.rubyrep.org/screencast.html
回答5:
I dont know if it is possible but if Email configuration is set in such a way that when an issue created/updated on first machine would be sent to the e-mail configuration setup in the second machine which receives the mail and generates/updates the issue on the second server.
You can refer this page to create issue using email settings
Also production server settings can be set to the following:
production: email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.domain.com
port: 25
domain: domain.com
enable_starttls_auto: false
authentication: :login
user_name: "redminesendreceive@domain.com"
password: "password"
These settings are also in the above create issue using email settings link.
来源:https://stackoverflow.com/questions/6157178/sync-redmine-to-another-redmine