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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.