Bulk move of Confluence pages - how to?

Hi All,

we have a space with 200+ pages right under the space home page without hierarchy. Now we want a page under the home which will be the parent page of these 200+ pages. At his point we can do the move one by one which is very cumbersome. Do you know any feature which enables us to move bulk pages under a parent page?

Thanks,
Rumi

3 answers

1 vote

Hello,

You could also use the Power Scripts for Confluence add-on:

https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server&tab=overview

It is a free add-on.

You could first clone the required page providing the parent page id with the clonePage method. Then you could delete the original page with the deletePage method.

Rumi,

I'm not sure if I'm correct in saying this - in the sense that there might be consequences that I can't think of at the moment, but can you:

  • copy the home page and rename it slightly. For example: Homexxx
  • then create a new page and call it: Home
  • then re-order the page called Home so that it is above the page called Homexxx. You can do this in Browse/Pages or by using Tools/Move.

If you do this the 200 pages should stay under the Homexxx page.

I'm not sure if there would be any ill effects in renaming the original Home page and then re-ordering it, but I can't think of any.

It may be best to wait until you see what other people say, but I've a feeling I've done this in the past and it worked.

Cheers.

Confluence Command Line Interface has actions that can help. Specifically movePage and that can be combined with runFromPageList or runFromContentList or similar.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,440 views 110 8
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