Forums

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

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.PNG auditLog.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 edited

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
atlassian, team ’25 europe, early bird extension, conference discount, barcelona, hybrid event, AI teamwork, early bird pass, digital access, collaboration conference, atlassian events, register now, developer conference

1 week left to save on your Team '25 Europe pass

Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.

Learn more
AUG Leaders

Atlassian Community Events