I want to sync a custom field in jira to public reply in zendesk, ie. any time custom field is editing a new public reply is created in zendesk. Note: I still want all other comments in JIRA to be added as internal notes in zendesk. The custom field in JIRA is called “External Notification”
Here is what I have so far and it is working to add internal comments in Zendesk but not public replies.
That code should be adding a comment for every sync zendesk received where the CF Test Field value is set (not only the update that set it). So probably that’s not what you want. Still is possible to solve your use case with:
ie added a line to sync to the value to a custom field in Zendesk to see if both of the if statements are working (which they are since the value is synced to that custom field in zendesk. So it looks like the below line is the issue: