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
I cannot use the Exalate incoming sync groovy window to set priority.
On the outgoing sync in Zendesk, I have:
replica.priority = issue.priority
On the Incoming sync in Jira cloud, I have:
def priorityMap = ["low": "Low", "normal": "Medium", "high": "High", "urgent": "Critical"]
def remotePriority = priorityMap[replica.priority?.name] ?: "Low"
issue.priority = nodeHelper.getPriority(remotePriority)
I have confirmed that "remotePriority" maps correctly to "Medium" when the Zendesk ticket is set to "normal", but the issue that is created in Jira is always set to "Low" priority no matter what the Zendesk ticket priority is. I have tried deleting the "?: "Low"" default priority assigning section of code from the Incoming sync but that does not seem to have an affect. I have also confirmed that the atlassian-addons-project-access role is added to the "Edit issues" permission in the project.
I have also tried manually setting the priority with the line:
issue.priority = nodeHelper.getPriority("Critical")
But again, the issue is always created with the priority set to "Low."