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

Running the Edit page action on a Confluence page that doesn't contain a draft with unpublished changes gives an error

XMLWordPrintable

      Issue Summary

      Running the Edit page action on a Confluence page that doesn't contain a draft with unpublished changes gives an error like:

      "Can't edit page since it has unpublished draft changes. Please publish or revert them or convert to a live page."

      Even though there are no drafts on the page.

      Steps to Reproduce

      1. Create an automation with the manual trigger
      2. Add the edit page action and have it append some text to the page.
      3. save the automation such that you can run in in the space you are testing in.
      4. create a new page to test with and put in some content.
      5. run the automation against the page, it should work at this point.
      6. make some further edits to the page, if you test the automation more, it will continue to work.
      7. revert the page to a previous version or publish new updates to it (it is inconsistent/intermittent, you may need to repete this a few times)
      8. Run the automation against the page again.

      Expected Results

      The automation works normally.

      Actual Results

      The action fails with the error like:
      "Can't edit page since it has unpublished draft changes. Please publish or revert them or convert to a live page."

      Workaround

      option 1: replace the page affected with a brand new page.
      option 2: Use the WebRequest actions with the Confluence Cloud REST API to gather the existing content, and insert the desired edit instead.

              83a5a418e2c5 Ethan Jennings
              jlong@atlassian.com Jared Long
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: