Formatting from github to jira

Originally asked by Salvatore Testaguzza on 01 March 2021 (original question)


We use exalate to sync between jira and github issues. I have followed the instructions here:
https://docs.idalko.com/exalate/display/ED/How+to+sync+GitHub+Flavored+Markdown+and+Jira+Cloud+Markdown
but the description in Jira still looks terrible after syncing. the code snippets become totally unformatted text, and the usual finger pointing icons from github get translated into something like this:

<g-emoji class=“g-emoji” alias=“point_right” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f449.png”>

</g-emoji>

in Jira incoming I have:

issue.description = nodeHelper.toMarkDownFromHtml(replica.description)

and in github outgoing I have:

replica.description = nodeHelper.getHtmlField(issue.description)

Any idea how we can improve this?


Answer by Ostap Krutsko on 23 March 2021

It is possible to write the own converter. How to do this is described here: https://docs.idalko.com/exalate/x/YQd1Aw


Comments:

Salvatore Testaguzza commented on 23 March 2021

Hi Ostap.

As I mentioned in my question, I have followed that page and it works ok for some stuff, but I think it has some bugs (icons, code snippets) - unless you think I made some mistkes in the setup of the scripts? Any help appreciated.