Hello,
I was editing a lot of pages via Rest API of our confluence Server instance.
All of the following steps were done via python and the atlassian-python-ai-package.
When I view the edited pages, everything looks good. But if want to edit one of those automatically edited pages, the old content appears in the editor. I don't know how to solve or fix this problem.
If I simply open the page in chrome it looks fine. The new content is present:
If I click on edit, the old content appears in the editor:
Funfact: If I make some changes on one of those broken pages via the editor and than restore the page via pagehistory, the problem disappears. But unfortunatelly this not the way to solve the problem because there are to many pages where I need to do this.
What i have done:
I changed the body of a page via python-script.
1. get the body from a page
2. i added some content at the top of the body (the content that was added came from another confluence-page ZYX)
3. replace the body of the page
I'm not a native english speaker but I hope you understand what the problem is. Otherwise please feel free to ask. :)
The only thing I can imagine is, that you have "unpublished changes" in one of those pages.
To recapitulate:
Can you share some code?
Thanks, Dominic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.