The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Rules for each new folder in spaces?

Petra Keiser
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!
May 6, 2025

Hi,

I would like to create a structure for my folders in my spaces under "content". Is there a way to maybe add rules so that every time a sub-folder is created to a main-folder, it automatically creates a set of pages within that sub-folder for the user to fill out? 

For example, I have a main-folder "Food diary" and I create a sub-folder to it named "Weekly meals February". When I create a new sub-folder for each month it automatically adds spaces for "Monday", "Tuesday", "Wednesday", etc. so I don't have to repeat the work manually each month.

Is there a way to achieve this in confluence?

Thanks for the help!

image.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Bill Sheboy
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 Champions.
May 6, 2025

Hi @Petra Keiser -- Welcome to the Atlassian Community!

I believe that is possible using an automation rule, and it is a bit complicated...

While there is a Folder Created trigger to start the rule, and its identifier may be found with {{folder.id}} one may not branch to it (even with CQL) to add the pages under it.

A possible workaround is using the Send Web Request action to call the REST API endpoint to create the page, passing the folder's identifier as the parent.

Kind regards,
Bill

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events