Forums

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

Automation Confluence trigger if page or also subpages were changed

Alexander Pappert
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.
July 23, 2024

Hi,

I want to implement the same automation rule on a confluence page and all its subpages.

image.png

 

But I can only find page related triggers, is it possible to also watch the corresponding subpages?

2 answers

1 vote
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.
July 23, 2024

Hi @Alexander Pappert 

First thing, I am not using Confluence automation rules currently, and so my suggestions are based on what I recall and find in the documentation.  With that out of the way...

I wonder, could you use a branch on CQL, checking if the parent (or ancestor) is the trigger page?

https://support.atlassian.com/cloud-automation/docs/branches-in-confluence-automation/#For-each-CQL-result--related-entities-

https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/#parent

https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/#ancestor

Kind regards,
Bill

Alexander Pappert
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.
July 23, 2024

Hi @Bill Sheboy 
in jira I sue branches, but the rule trigger is when main issue is changed and then the rule check branches.
I would need a trigger on main page that is also triggered when one of the many child pages was changed, but I couldn't find it yet.

Like John Funk likes this
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.
July 25, 2024

Thanks for clarifying, and I believe you would need two rules: one triggered on a parent change (which would find children of that parent) and one triggered on a child (which would find siblings through the parent).

Like John Funk likes this
1 vote
John Funk
Community Champion
July 23, 2024

Hi Alexander - I am not aware of being able to apply that down to the subpages also. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events