Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-16830

provide support for markup information in Get request comment API

XMLWordPrintable

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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

      1. Add a comment with HTML formatting to a service desk ticket or work item.
      1. Use the API call 'Get request comment' to retrieve the comment information.
      1. 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  

              Unassigned Unassigned
              157cb8ea75c4 Abhishek Singh
              Votes:
              13 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: