Markdown getting lost in sync between Jira and Zendesk

Originally asked by Alastair Wade on 14 July 2023 (original question)


Zendesk > Jira: Markdown in comments is synced as plain text - I am okay with this, at least the content is there.

Jira > Zendesk: Markdown in comments is stripped completely - what do I need to change to not lose this content?

Connection config…

Zendesk outgoing: replica.comments = nodeHelper.getHtmlComments(issue)

Jira incoming: issue.comments = nodeHelper.toMarkDownComments(includeComments)

Jira outgoing: replica.comments = issue.comments

Zendesk incoming: issue.comments += replica.addedComments