Forums

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

Comala States Report CQL Filter by stateexpiry

Gene McLay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 19, 2021

My clients want a report page on our confluence that shows all the pages that will expire in the next month, and I'm trying to use the CQL Filter parameter in the Document States Report macro to accomplish this.

Although I know how to do this with normal CQL (stateexpiry <= now('1m')), I can't figure out how it would work with the 'FieldName:Value' system that their Macro uses for the CQL Filter parameter. I've tried a few tests where I new the expiry date exactly, and went stateexpiry:YYYY/MM/DD and stateexpiry:"YYYY/MM/DD", but that just chucks an error. I've also tried it with - instead of /, with no effect.

I feel like ServiceRocket's Reporting for Confluence would have an easy fix, but atm the team doesn't want to pay for it when there seems to be another solution.

2 answers

0 votes
James Conway
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.
January 19, 2022

Hello @Gene McLay and other community members.

This capability was released in autumn 2021.

For more detail, see our wiki: https://wiki.comalatech.com/display/CDML/CQL+filter+-+reporting+pages+that+have+been+approved+or+expired+in+a+time+period 

All the best

James

0 votes
James Conway
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 20, 2021

Hello @Gene McLay 

We do not currently support these CQL expressions with the Document States Report Macro CQL filter. If you could contact me via https://support.comalatech.com I'll add your details to our internal feature request.

Thanks in advance

James
Senior Product Manager

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events