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
Hello, I'm attempting to map our Salesforce Priority to our Jira Priority values. I used the script mentioned in the Exalate resource, but it's defaulting to "Unprioritized" regardless off the remote Priority value. Am I missing something? Any assistance is appreciated.
// Set Priority based on replica.priority
def priorityMapping = [
"1": "P0 - Critical / Widespread",
"2": "P1 - Critical / Contained",
"3": "P2 - Noncritical / Widespread",
"4": "P3 - Noncritical / Contained",
]
def priorityName = priorityMapping[replica.Priority__c?.name] ?: "Unprioritized" // set default priority in case priority isn't found
issue.priority = nodeHelper.getPriority(priorityName)
Naïve questions:
Stéphane Thillay , that worked!! THANK YOU SO MUCH