as an admin I want to periodically empty the Confluence space trash, but I'd like to do it (manually or by a Scriptrunner Script) based on how much old are the files in the trash.
In the space trash view I can't see the information I'm looking for (the deletion date)?
It's OK also to get it by a SR script, if there's no other chance, but I guess it's quite curious to not have this information directly from the trash page.
Thanks, Ciao, Andrea
Hello @Andrea Boerio ! The information which you are looking for is indeed not located within the “trash can” itself. We can access it in the instance Audit Log.
All page deletions are logged there and only an admin can access it. Here is how it looks like when we see the audit log for a page deletion:
Here is an excerpt from our audit log page:
The audit log allows administrators to look back at changes that have been made in your site. This is useful when you need to troubleshoot a problem or if you need to keep a record of important events, such as changes to global permissions. You'll need Confluence Administrator permissions to view the audit log.
For more information on the Audit Logs generated by Confluence, you can take a look here:
With this in mind, I can say that whatever method you are looking forward to use, it needs to look into the audit logs and not the trash page itself.
Let us hear from you, Andrea! I hope this helps.
Hi @Diego , thanks a lot.
This log can actually be very useful.
I just don't understand how to use the filter, to better define queries to view only the lines I need.
Eg I'd like to filter out the Scriptrunner event type lines, then search only the deletion events, etc...
Hello there, @Andrea Boerio ! Thanks for keeping things alive here. I did not receive the notification pointing to your previous comment.
So, let us waste no more time!
I was able to find two Feature Requests that might be interesting for your uses. One of them aims at pinning more detailed information directly into the trashed items in your instance. The other one goes for automatic trash purging from Confluence.
Here, take a look:
Also, after looking into Scriptrunner documentation, I was able to find that the Plugin does have its own Log system.
You can check it here:
Again, thanks for sending a second message my way! I would not have checked the thread if you did not.
O hope this helps!
Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events