Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Hi, we try to sync issues from a public JIRA instance (we'll call it A) with a private JIRA datacenter instance (we'll call it B).
It basically works
We face an issue when we try to add "non bijective" statuses:
An issue is always opened on B. Status is "open" on both A and B.
status can change on A side while it does not have to change on B side. Basically 6 statuses on A side correspond to "Open" on B side
see attched screenshot of those 6 statuses.
To do so we used what we saw here:
https://docs.idalko.com/exalate/plugins/servlet/remotepageview?pageId=19629783#StatussynchronizationonJiraServer-statusSyncExternal
so on B side we set:
def statusMap = [
// "remote status name": "local status name"
"Open" : "Open",
"Selected For Development" : "Open",
"In Progress" : "Open",
"In Review" : "Open",
"In Testing" : "Open"
]
def remoteStatusName = replica.status.name
issue.setStatus(statusMap[remoteStatusName] ?: remoteStatusName)
Maybe we misunderstood something. because we get the attached error:
Support type
troubleshooting