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 Community,
I have following INC payload coming from Jira SD:
"customKeys": {
"CI": "abo20001"
},
CI record with above name ("abo20001") exists on SN side, and I would like to store it on a INC record in SN. My incoming script for it looks as below:
if (replica.customFields."customKeys"?.CI != null)
{
def remote_CI = replica.customFields."customKeys"?.CI
incident.description = remote_CI
incident.cmdb_ci = nodeHelper.getReference("cmdb_ci", "cmdb_ci", replica.customFields."customKeys"?.CI)
}
For test reason, temporary I would like to store "CI" in description and cmdb_ci fields, but none of this works.
Please suggest right solution