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,
when I am starting the sync from JIRA cloud to Zendesk, I am transferring the resolution field from JIRA to ZD.
But in the case, when this field is not set in JIRA the value is null...how can I set their a default value, so that I am not getting an error?
Thanks for Help.
Kazi
def resoMap = [
"Fixed": "fixed",
"No Bug": "no_bug",
"Blocked": "won_t_fix",
"Duplicate": "duplicate",
"Incomplete": "incomplete",
"Cannot Reproduce": "cannot_reproduce",
"Done": "done",
"Won't Do": "won_t_do",
"Declined": "declined",
]
issue.customFields."[JIRA] Resolution".value=resoMap[replica.resolution.name]