For Confluence Cloud, I'm trying to figure out a way to get a list of pages with their created and modified dates based on the presence of a specific label. I've seen posts referring to using the Page Properties macro, but that requires filling out the values that already exist in the page properties.
I am by no means a macro expert...
Hello @Darryl St_ Pierre ,
We can try to use Confluence command line interface get the page list along with created and modified dates. Sample command and the respective result below :
Action :
confluence --action getPageList --space "MYS" --outputFormat 3
Result :
"Space","Title","Id","Parent id","Author","Created","Modifier","Modified","Version","Url"
"MYS","Myspace Home","2523139","","admin","25/9/18 9:46 AM","admin","25/9/18 9:46 AM","1","http://localhost:8090/display/MYS/Myspace+Home"
"MYS","page with attachments","2523141","2523139","admin","25/9/18 9:46 AM","admin","25/9/18 9:47 AM","1","http://localhost:8090/display/MYS/page+with+attachments"
For specific labels: use/append to the command --labels "label1, label2"
confluence --action getPageList --space "MYS" --labels "label1, label2" --outputFormat 3
Thanks,
Swathi
Thanks! Just what I needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.