Confluence has been updated to version 6.15.9


This page shows a simple way to synchronize status between instances. 

You need to configure the mapping between statuses on both sides. The example below works for all supported issue tracking platforms.

Source side

Outgoing sync

Send local status to the remote side

replica.status = issue.status 

Incoming sync

Set the local status based on the received status value from the remote side.

def statusMap = [

       // "remote status name": "local status name"
         "To Do" : "New",
         "In Progress" : "In Progres",
         "Done" : "Canceled"
   ]
def remoteStatusName = replica.status.name
issue.setStatus(statusMap[remoteStatusName] ?: remoteStatusName)
Alternatively, you can set the default local status using the getStatus node helper method.  
issue.setStatus("status name")

Have more questions? Ask the community


Back to Status and workflow synchronization