JIRA comments to ServiceNow - wiki markup versus HTML problem

Petr Pastuszek1
Tera Contributor

Hello,

 

JIRA is sending customer comments to ServiceNow via webhook as wiki formatting.

I would like to convert this WIKI into HTML into ServiceNow comments.

Has anyone implemented this already, please?

This is what I type in JIRA

 

PetrPastuszek1_0-1706624365591.png

This is what I get via webhook in ServiceNow.

 

PetrPastuszek1_1-1706624485145.png

 

And I would like to make it in ServiceNow comments same look as in JIRA.

 

I know to use '[code][/code]', but it doesn't handle wiki markup from JIRA

/Petr

 

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

Hi @Petr Pastuszek1 

ServiceNow has no idea about Jira's Wiki syntax and thus cannot convert anything. But you can request from the API the HTML rendered version of a comment.

See https://community.atlassian.com/t5/Jira-Software-questions/How-to-convert-JIRA-s-wiki-markup-to-HTML... for an example.

Maik

Hello Maik and thank you for the quick response/proposal.

I understood we are not able to do anything in flow designer when we get comments via webhook from JIRA in SNOW, but we need to contact JIRA team to implement API change on their end.

Can you confirm this?

 

/Petr

 

Hi @Petr Pastuszek1 

sorry, I just read about the webhook now. Yes of course should ask the other side but I cannot confirm whether it will work for you or not.

Maik

I created in snow scripted rest api

provided to jira team

jira created webhook with this endpoint and sending us jira comments in html,all ok

we are pulling html comments into snow comments via code/code,all ok

 

only problem is image from jira comment is not displayed in snow comment - looking for a solution currently