Automation for Confleunce to send an e-mail when a page is created under a folder

Brian Taylor
Contributor
January 28, 2025

 

I have a use case regarding a folder when a page is created in a folder to send out an e-mail to specific people that a page has been created.  

Does Confluence automation have this ability?

I tried using a CQL of 

space = "Atlassian Support" and title = "Active Projects (Migrated)"

But that did not work. 

 

2 answers

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 29, 2025

@Brian Taylor You can use the ancestor CQL field to find all descendants (children, grandchildren, etc.) of a given ancestor.

In your case, you should use something like:

ancestor = 1234

... where 1234 is the ID of the folder.

Maybe you could just run a scheduled job e.g. every hour and that runs this to find the pages created under that folder since the previous run:

ancestor = 1234 and created > now("-1h")

 

Brian Taylor
Contributor
January 29, 2025

Aron - Thank you for the sugestion 

I modified the CQL as follows. I did not get any returned.   I tried this both on a Folder as well as an under and existing page 

space = "Atlassian Support" and title = "Test Sub-space" AND ancestor = 1234 and created > now("-1h")

I also tried changing the folder ID that I got from the results of a copy link (I am not sure if that is how you get the folder ID or not based on some of the Community articles)

Amanda Barber
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 29, 2025

Oooh, thanks for sharing this @Aron Gombas _Midori_

0 votes
Amanda Barber
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 28, 2025

Hi @Brian Taylor - I don't think any automations are available based on folders just yet since those are a new feature, but this might work for you? You could also set up a specific template or label to ensure the correct items are notifying users.

image.png

Brian Taylor
Contributor
January 29, 2025

Amanda - Thank you for the suggestion, but it does not appear to have worked as the audit log status is not action performed. 

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