Do I see right that there is no such function as syncHelper.syncBackAfterProcessing on the ServiceNow side?
Are there any plans to add that at some point or is there any other way I could achieve the same thing in ServiceNow?
Because when I update the incident.assigned_to field to from âemptyâ to someone or vice versa from someone to empty our ServiceNow automatically updates the status from âAssigned to groupâ to âAssigned to individualâ or back. Which brings the status out of sync until I trigger a sync from ServiceNow to Jira in one way or another.
When you say you tested it, do you mean you added a piece of code on Jira Cloud or ServiceNow? I have looked on our base code and SyncBackAfterProcessing does not look to be functional on ServiceNow, therefore the documentation would be fine. This leads me to think it worked on Jira Cloud, and propagated correctly to ServiceNow. Could you confirm?
Kind regards,
Ariel
Benjamin Kiene commented on 30 July 2021
Hi Ariel,
I added a âsyncHelper.syncBackAfterProcessing()â line in the Incoming sync script on a ServiceNow node and it works flawlessly initiating a sync back to the other side as the function suggests.
Best regards, Ben
Ariel Aguilar commented on 30 July 2021
Hi Benjamin,
This is interesting, and thanks for letting us know. I will investigate then why it has not been added to our documentation and I will be back with you.