Confluence automation - error on CQL query

Mélanie Liguet
Contributor
September 25, 2023

Hi, 

 

I try to use Confluence automation on cloud

 

I need to archive all pages that are not updated since 4 months.

I did many CQL query, but i have always an error message on CQL.

 

automation and CQL query are very simple

automation-rule.PNGauditLog.PNG

 

What is wrong on this CQL query ? (if I increase the number of months I still get the same message)

 

Regards

1 answer

1 accepted

1 vote
Answer accepted
Mike Monk
Contributor
September 25, 2023

Can you try adding a "For Each Entity" branch  and then move the CQL into that Branch

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.
September 25, 2023

Hi @Mélanie Liguet 

Adding to Mike's answer, please look here to learn more about using branches in a rule like yours: 

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

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events