Hello,
I'm trying to find a way or a plugin which efficiently marks/lists/labels confluence pages in a space older than say 6 months.
With a label, it will be easy to list them within confluence for further review.
Being confluence cloud, the usual plugins are not supported and scriptrunner is a bit too expensive for this specific need.
Any idea?
thank you in advance
Andrea
Looks like I've been able to achieve my goal using the CGL Search for Confluence https://marketplace.atlassian.com/apps/1213090/cql-search?hosting=cloud&tab=overview
I'm now able to add a macro "CQL search results" in a page and target pages not updated for more than 6 months using the query:
space = xx AND LastModified < endOfWeek("-36w") and type = page and label != "blah".
This way I can list the pages I have to further review and/or update.
I still lack the feature of "mass edit" the pages according to the search (add label, move to archive, etc) but this action can be part of the review process of every page. I.e. upon review a label "blah" can be added to the page so that it won't be included in the search list anymore.
Special thanks to @Stephen Wright _Elabor8_ for pointing this solution.
Andrea
What's the parameters you want to add the label based on?
Some search parameters will be possible to locate via search - for example for date modified:
^ You can expand search using an app such as CQL Search
I couldn't find much for auto-label management on Cloud - but there are analytics apps which would show you page views, usage, etc - see a few options in this search on Marketplace.
If you do want to use automation for more than just site usage - I think you are going to need to consider ScriptRunner for Confluence or there might be some uses in Comala Document Control?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Stephen Wright _Elabor8_ ,
first of all thank you for your reply and your advices. I made some tests but I cannot achieve my goal yet:
My goal is to have a confluence page which dynamically (on page load) lists pages in a space which have not been updated in the last 6 months (or more) so that we can further review/update/archive them.
Additional filters based on labels is a nice to have (so: list pages older than 6 months, but not those with label "keep_me").
In JQL terms it would be something like: project=OS and updated < -24w and not labels="keep_me".
Cheers,
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to replicate this but the query draws out a search for a space lesser than 36 weeks which has no label "blah".
space = xx AND LastModified < endOfWeek("-36w") and type = page and label != "blah".
Is there a way to just add a different label to the same search?
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.