servicedeskapi atlassian-wiki markup to html

Dezsi Tamas January 2, 2018

We are building our own support site in bussines application which is based on the Jira service desk rest api.
We would like to show the issues comments to the users on the web site. We used the servicedesk GET /rest/servicedeskapi/request/{issueIdOrKey}/comment request which is working fine but the comment texts given back as atlassian-wiki markup but we like to get it back as html content. As far as we know the service desk api does not have the renderbody parameter. What we shoud do to achieve our goal? We also try the /rest/api/1.0/render api call which is working fine but for this solution we have to create a technical user because it's a different api with different user rights. Is there are any alternative solution?

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 2, 2018

You'll need to write a converter - Jira's REST API hands you comments as stored, there is no conversion routine available.

Dezsi Tamas January 4, 2018

thank for your reply but i like to avoid to write a converter

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 4, 2018

Ok, then you'll need to pay someone else to write a converter.

Suggest an answer

Log in or Sign up to answer