Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-78653

Provide Atlassian Document Format as output for changelog entries

XMLWordPrintable

    • 0
    • 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.

      When using the Get Issue endpoint: GET /rest/api/3/issue/{issueIdOrKey} a field like description can be provided in different formats like renderedField, text or Atlassian Document Format.

      However when using the Get Changelogs endpoint: GET /rest/api/3/issue/{issueIdOrKey}/changelog, there does not seem to be a way to get anything other then the text(markup) representation. The are only fromString and toString values. 

      For example, now calling Get changelogs returns

      $ curl --silent --user username:token --header 'Content-Type: application/json'  --request GET --url 'https://mycompany.atlassian.net/rest/api/3/issue/KEY-1/changelog'  --header 'Accept: application/json'  
      ...
      "items": [
              {
                "field": "description",
                "fieldtype": "jira",
                "fieldId": "description",
                "from": null,
                "fromString": "This is a description.",
                "to": null,
                "toString": "This is a description.\n\n*This is more content.*"
              }
            ]
      ...
      

              Unassigned Unassigned
              jrichards@atlassian.com James Richards
              Votes:
              14 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: