Use Case:
Jira to ServiceNow Comment Synchronization:
- Jira Private Comment should sync to ServiceNow Additional Comments
- Jira Public Comment should sync to ServiceNow Work Notes
Use Case:
Jira to ServiceNow Comment Synchronization:
Assuming you are using a JSM (for internal/ public comments), the following script on the ServiceNow Incoming side should be able to achieve what you are looking for:
entity.comments = commentHelper.mergeComments(entity, replica, {
it.body = it.author.displayName + " commented: " + it.body
if (it.internal==true)
it.internal =false
else if (it.internal==false)
it.internal =true
}
)
Here is a short video of this in action:
Hope it helps!
Thanks
Majid
Thank you Majid for your help.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.