Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-75534

Updating a page with the Confluence Rest API v2 does not add a version message

XMLWordPrintable

      Issue Summary

      Updating a page with the PUT /wiki/api/v2/pages/{id} Confluence Rest API v2 (https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-put) does not set the version message.

      Steps to Reproduce

      1. Make a call to the PUT /wiki/api/v2/pages/{id} Confluence REST v2 API with the following payload:

       

      {
        "id": 470548481,
        "title": "Page123",
        "status": "CURRENT",
        "spaceId":223477765,
       "body": {
          "representation": "storage",
          "value": "Body"
        },
        "version": {
          "number": 2,
          "message": "new version message"
        }
      } 

       

       

      Expected Results

      The request creates a new version and the "new version message" is added as a comment to the version.

       

      Actual Results

      A new version is created but no message is added to the version.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

            25652ccd84fa Simon Kliewer
            ccurti Caterina Curti
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: