Javier
June 19, 2025, 7:25pm
1
Creating this on behalf of @jcotant
I’m having text formatting issues in the description field from GitHub to Jira Cloud.
GitHub
Jira Cloud
I have tried several methods from the nodeHelper object, including stripHtml and getHtmlField in GitHub, and toMarkDownFromHtml in Jira Cloud. I also tried using replaceAll to replace all the newline characters, but had no success. Is there a workaround for this formatting issue?
Kevin
July 1, 2025, 10:37am
3
Hi @jcotant
Wanted to let you know that I’m working on this and will be providing an update soon.
Best,
Kevin
Awesome to hear – thanks, Kevin!
Best,
Joe
Kevin
July 14, 2025, 10:41am
5
Hi @jcotant
Apologies for the delay.
Both tracker are using Markdown, So there is no need to user any helper. You should get the majority of formatting ok by using
GitHub Outgoing:
replica.description = issue.description
Jcloud incoming:
issue.description = replica.description
That being said, GitHub is using GFM (GitHub Flavored Markdown) which has some differences with the vainilla one used by JCLOUD.
I am currently looking if there way to specify the changes to avoid having stranger formatting when syncing from GitHub to Jcloud.
Best,
Kevin
Thanks so much for the work here, Kevin! Previously we tried the same configuration as you suggested and were still hitting the formatting issues, so perhaps it has to do with the GitHub Flavored Markdown. Let me know if there’s any further info or details I can provide that would help.
Best,
Joe
Hi Kevin,
Hope this finds you well. Just checking in to see if there’s been any other progress on this issue?
Thanks!
Joe
Kevin
August 5, 2025, 8:38am
8
Hi @jcotant
Apologies on the delay.
After testing several different approaches.
I believe that the one that will work best for this case is the following:
Outgoing sync GitHub:
replica.description = nodeHelper.getHtmlField(issue.description)
Incoming sync Jira Cloud:
issue.description = nodeHelper.toMarkDownFromHtml(replica.description)
This is working well on my instance, however the are going to be some small differences. But the format is the correct one.
Hi Kevin,
Thanks so much for staying on top of this one! I’m doing some testing today and will let you know how things go.
Best,
Joe
Hi Kevin,
Happy to report that your solution works wonderfully! We’re very appreciative of the effort here.
We’ll continue to monitor for any small differences, but we haven’t come across any yet.
Thanks again!
Joe