-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
Issue Summary
When using the endpoint Get request comment, the API returns the comment details without any markup information. The returned text is not understandable for any user or application as it is in raw form.
Steps to Reproduce
- Add a comment with HTML formatting to a service desk ticket or work item.
- Use the API call 'Get request comment' to retrieve the comment information.
- Notice that the returned comment is in raw format.
Expected Results
The API response should include markup information for the comment.
Actual Results
There is no markup information; only the raw text is shown.
Workaround
Use 'renderedBody' query parameter, which allows you to retrieve data in HTML format in addition to the raw body.
Example: 'https://your-domain.atlassian.net/rest/servicedeskapi/request/{issueIdOrKey}/comment?expand=renderedBody