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.

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
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

311 views 1 4
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