Forums

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

Mail Automation when subpage is published

Sabrina Öfner May 17, 2024

I have build an automation, which should notify three people (added with mailadress) when a subpage is published.

It starts with "When page is published" and contains an if-condition "parent = 2226683910" and then "send mail to XXX"

 

The rule was once successful (14.05.2024) and the autdit log says:

Action details:

Page edited
Page was updated:
2024-05-14 Kick-Off 
CQL condition
Evaluated:
(id = 2236579841 AND parent = 2226683910) AND space in ("ZE")
Send email
Successfully sent email with message id:
cb2cfa64-7037-4731-80fc-6c3275e17d8d
Today I added another page, but the mail was not send and I dont know why. The action details are the same, but the audit log says "NO ACTIONS PERFORMED"

Action details:

Page edited
Page was updated:
2024-05-17 Planung der Konzeptionierung
CQL condition
Evaluated:
(id = 2244575233 AND parent = 2226683910) AND space in ("ZE")
I havent made any config changes since 14.05. and no other has the permission to do so. I cant guess the problem here, can someone help?

2 answers

0 votes
Michelle S
Contributor
February 21, 2025

@Sabrina Öfner I started out with what you had above and found a way to make it work:

Instead of 
CQL Condition

Evaluated:
(id = 2236579841 AND parent = 2226683910) AND space in ("ZE")
use
If: Compare two values
Checks if

First value {{page.parent.id}} equals <parent.page.id>
confluence automation.png
confluence automation2.png

 

 

 

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
May 17, 2024

Did you verify that page was a child of 2226683910 and in the ZE space?

Michelle S
Contributor
February 21, 2025

 

,.

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