JIRA comments to ServiceNow - wiki markup versus HTML problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 06:21 AM
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
This is what I get via webhook in ServiceNow.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 08:40 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 10:36 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2024 01:49 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 12:44 PM
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