This article shows how to sync issue priority.

Source side

To send priority field data to the destination side add the code below to your incoming sync processor.

Data Filter

replica.priority       = issue.priority

Destination side

Use a nodeHelper.getPriority method to find local priority by the remote priorityName.

Create/Change processor

There are several ways to manage incoming sync data related to the priorities:


  • Find local priority by the remote priorityName. If there's no such priority on your side, don't sync the priority.

In this case, you need to be sure that both sides have the same priorities.

issue.priority = nodeHelper.getPriority(replica.priority?.name, issue)


  • Set a default priority if the local priority is not found by the remote priority name. 

issue.priority = nodeHelper.getPriority(replica.priority?.name, issue) ?: nodeHelper.getPriority('Major', issue)