Provide Atlassian Document Format as output for changelog entries

XMLWordPrintable

    • 0

      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.*"
              }
            ]
      ...
      

              Assignee:
              Unassigned
              Reporter:
              James Richards
              Votes:
              14 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: