Automation - How to rename all children pages
Asked by VINCENT DUPONT:

hello

I need to rename all children pages under one specific page and I don't want to do this manually. The renaming is simply to add one same prefix at every page's name.

In Automation, I can see how to add a manuel trigger for the rule, but I cannot find the way to list all children pages under the specified parent. I presume I need to use a 'branch' operator...

could you help me?

Thanks

Vincent


Answers:
author: David Nickell
body: REST API \>\>\> <https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-put>

I've not done the exact task you specify, but the REST API should allow you to make your updates. I make it sound simple -- If you've never used the APIs before it may be confusing.

But once you learn, you'll never face an issue like this again :-)

Good luck

comments: author: VINCENT DUPONT
body: I'm not used to API's. But thanks anyway!


author: Stavros_Rougas_EasyApps
body: [@VINCENT DUPONT](/t5/user/viewprofilepage/user-id/1380171) add a page title prefix and/or suffix in seconds with [Space Content Manager](https://marketplace.atlassian.com/apps/1226657/space-content-manager-find-and-replace-label-manager?hosting=cloud&tab=overview).

Choose the exact pages you want to change, see an exact preview. It's that simple:

![Screenshot 2024-07-22 at 17.14.41.png](https://community.atlassian.com/t5/image/serverpage/image-id/337151iE3177311BBA9A60E/image-dimensions/465x369?v=v2 "Screenshot 2024-07-22 at 17.14.41.png")

We keep adding new features.


author: VINCENT DUPONT
body: Hello

I found the way to list all children page using CQL. It is simply "parent=123".  
However, after this step, there is no "Action" allowing us to rename a page.  

This seems to be a basic functionality but...

;-)


author: Kristian Klima
body: Hi [@VINCENT DUPONT](/t5/user/viewprofilepage/user-id/1380171)

It's possible by using an app (which you can try for free...). I have it installed and use it on regular basis.

[Copy Page Tree](https://marketplace.atlassian.com/apps/22929/copy-page-tree?hosting=cloud&tab=overview)

Here's how it works. Select a parent, launch the app (it will be in the free dot menu) as Copy page tree, then specify the target space (can be the same space), specify your prefix/suffix.

Then you can delete the originals.

As the app copies attachements, labels, properties, permissions, you will end up with a carbon copy of your pages but with the desired prefix.

See the screenshot for details

I would test it first to see if it matches your criteria.

![2024-07-10_09-22-10.png](https://community.atlassian.com/t5/image/serverpage/image-id/334520iA788E947D0DA918A/image-size/large?v=v2&px=999 "2024-07-10_09-22-10.png")

comments: author: VINCENT DUPONT
body: thank you  
I do not want to create a new copy of the original page (and then delete the original) because I need to keep the page history....

<br />

Vincent


author: Kristian Klima
body: I see.

What about this one?

[https://marketplace.atlassian.com/apps/1225522/space-tools-pro-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1225522/space-tools-pro-for-confluence?tab=overview&hosting=cloud)


author: Vicente Dom?nguez _Decadis AG_
body: Hello [@VINCENT DUPONT](/t5/user/viewprofilepage/user-id/1380171) and thank you [@Kristian Klima](/t5/user/viewprofilepage/user-id/5074962) for mentioning us!

I am part of the Decadis team and our app [Space Tools Pro for Confluence](https://apps.decadis.net/display/STP/Space+Tools+Pro+for+Confluence) allows renaming pages individually from an overview page as you can see in the clip of [Rename page](https://apps.decadis.net/display/STP/Rename+page).

If you bulk copy the pages, adding a prefix to the copied child pages is also possible (see [Bulk copy pages](https://apps.decadis.net/display/STP/Bulk+copy+pages)).

If you have some questions about our app, we will be glad to help you here or via our [support portal](https://decadis-apps.atlassian.net/servicedesk/customer/portals).

Best regards,

Vicente


author: Lucy Dilts
body: Hi Vincent -

Found this --\> [Solved: Updating Multiple Pages in One Action (atlassian.com)](https://community.atlassian.com/t5/Confluence-questions/Updating-Multiple-Pages-in-One-Action/qaq-p/1827222#:~:text=Unfortunately%2C%20it%27s%20not%20possible%20to,are%20most%20likely%20paid%20apps.)

Best.

Lucy

comments: author: Shawn Doyle - ReleaseTEAM
body: While that question was marked solved, the solution was "it's not possible".


Tags: cloud

confluence-cloud