Update draft content API does not work on legacy editor

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      Update draft content API does not work on legacy editor

      The API themselves work but the legacy editor doesn't update the display accordingly.

      Steps to Reproduce

      1. create a legacy page in Confluence Cloud
      2. add a macro and in the macro update the page draft using PUT /wiki/api/v2/pages/${pageid}
      3. call window.AP.confluence.closeMacroEditor() to view the result in the Editor

      Expected Results

      The legacy editor should show the latest draft content

      Actual Results

      The legacy editor doens't update the display. However, the draft is updated in the backedn and we can get it using curl --location 'https://${sitename}.atlassian.net/wiki/api/v2/pages/${pageid}?body-format=storage&get-draft=true' API call.

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Nashid Farhad
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: