Confluence has been updated to version 6.15.9

This page shows how to synchronize status from other platforms to Jira.

To sync statuses you need to configure the mapping between statuses on both sides.

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 statusMapping = [

       // Local issue status <-> Remote issue status
         "To Do" : "New",
         "In Progress" : "In Progres",
         "Done" : "Canceled"
def defaultStatus = "New"
def statusName    = statusMapping[replica.status?.name] ?: defaultStatus // set default status in case the proper status could not be found
issue.status = nodeHelper.getStatus(statusName)

Have more questions? Ask the community

Back to Status and workflow synchronization