reorder confluence 5.3 pages via api

I'm working on a tool to migrate our docbook/html documentation into Confluence. We currently use Confluence 5.3.1 and I do not have control over upgrading to a more recent version.

I use the JSON-RPC API (https://developer.atlassian.com/display/CONFDEV/Remote+Confluence+Methods) and a Python script to do the work.

I'm hitting a problem where the individual pages are automatically ordered alphabetically when imported to Confluence. I need a way to enforce specific order via the script (we have a total of 44 books and 243 chapters, one page per chapter, so manual reorder is out of the question).

I tried to "movePage" within its parent with the "append" order after uploading it but although the API reports success the order stays auto-sorted.

What's the way to achieve that through the API?

2 answers

There isn't a way to do this via remote APIs at this time. See also this answer for the Confluence CLI.

Yes, see CSOAP-343. And there are some movePage examples with this on Examples.

Thanks for the prompt reply smile!

But sad: I use the latest greatest Rest API, any chance?

 

Is the ability to order pages through the API in the backlog for the Confluence REST API?

Any chance to get a response about this from Atlassian?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

74 views 2 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you