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
To sync the resolution from Jira to ServiceNow, I have written below code in the incoming sync of SNOW. It was working before. However, when I retested, it gave me error in the line #9 - Cannot get property name on null object.
Hi Archita,
Is there a chance the issue that caused the error, did not have any value matching the resolutionMap? Then if the value is coming "null" you can try:
Let me know if this works for you.
Kind regards,
Ariel
Hi Ariel,
Thanks for your response. I added your changes and now getting below error.
'Script cannot be saved. Details: startup failed: Script408.groovy: 34: unexpected token: ? @ line 34, column 70. onMap[replica.resolution?.name?] ?: "Sol ^ 1 error '
Regards,
Archita
Ariel,
I removed the extra question mark after name and it worked.