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, I am trying to map ADO Priority values to Jira Cloud Priority values as below.
def priorityMapping = [
"1":"Escalate",
"2":"High",
"3":"Medium",
"4":"Low"
]
def remotePriorityName = replica.customKeys?."Priority"
def localPriority = priorityMapping[remotePriorityName]
issue.Priority = localPriority
1,2, 3 and 4 are the values from ADO. However, this doesnt work as the Jira Cloud has icons together with each text value for priority as below.
Can someone please help how to fix this?
Many thanks