priority and urgency

priority zendesk to jira cloud
zendesk outgoing:
replica.priority       = issue.priority



jira cloud incoming:
def priorityMapping = [
        // remote side priority <-> local side priority             
          "urgent" : "Highest",
          "high" : "High",
          "normal" : "Medium",
          "low":"Low"
    ]
def priorityName = priorityMapping[replica.priority?.name] ?: "Low" 
issue.priority = nodeHelper.getPriority(priorityName)
to severity in ADO
ADo incoming
def severityMapping = [
        // remote side priority <-> local side priority             
          "urgent" : "1 - Critical",
          "high" : "2 - High ",
          "normal" : "3 - Medium",
          "low":"4 - Low"
    ]
def priorityName = severityMapping[replica.priority?.name] ?: "4 - Low" 
workItem."Microsoft.VSTS.Common.Severity" = priorityName

to priority in ADO
de priorityMapping =[
"Low":4,
"Medium":2]


workItem.priority = nodeHelper.getPriority(priorityMapping[replica.priority?.name]