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 ( 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.

any progress here?

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
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

486 views 3 18
Read article

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