-
Bug
-
Resolution: Fixed
-
High
-
3
-
Minor
-
1
-
-
Warranty
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
- Create an automation with the manual trigger
- Add the edit page action and have it append some text to the page.
- save the automation such that you can run in in the space you are testing in.
- create a new page to test with and put in some content.
- run the automation against the page, it should work at this point.
- make some further edits to the page, if you test the automation more, it will continue to work.
- 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)
- 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.