Automation - How to rename all children pages

VINCENT DUPONT
Contributor
July 9, 2024

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

5 answers

1 vote
David Nickell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 9, 2024

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

VINCENT DUPONT
Contributor
July 10, 2024

I'm not used to API's. But thanks anyway!

0 votes
Stavros_Rougas_EasyApps
Atlassian Partner
July 22, 2024

@VINCENT DUPONT add a page title prefix and/or suffix in seconds with Space Content Manager.

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

We keep adding new features.

0 votes
VINCENT DUPONT
Contributor
July 10, 2024

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

 

;-)

0 votes
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2024

Hi @VINCENT DUPONT 

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

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

VINCENT DUPONT
Contributor
July 10, 2024

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


Vincent

Like Kristian Klima likes this
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2024
Vicente Domínguez _Decadis AG_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2024

Hello @VINCENT DUPONT and thank you @Kristian Klima for mentioning us!

I am part of the Decadis team and our app Space Tools Pro for Confluence allows renaming pages individually from an overview page as you can see in the clip of Rename page.

If you bulk copy the pages, adding a prefix to the copied child pages is also possible (see Bulk copy pages).

If you have some questions about our app, we will be glad to help you here or via our support portal.

Best regards,

Vicente 

 

Like Kristian Klima likes this
0 votes
Lucy Dilts
Contributor
July 9, 2024

Hi Vincent -

Found this --> Solved: Updating Multiple Pages in One Action (atlassian.com)

 

Best.

Lucy

Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 9, 2024

While that question was marked solved, the solution was "it's not possible".

 

Like Kristian Klima likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events