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

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events