I'm trying to find out who deleted an answer in Confluence Questions, I have used the below query:
select um.username, c.title, s.spacename, c.lastmoddate
from content c
join user_mapping um on c.lastmodifier = um.user_key
join spaces s on c.spaceid = s.spaceid
where c.content_status = 'deleted' and contenttype = 'CUSTOM'
order by username;
But it looks the answers once deleted are removed from the DB? Is that true?
Looks like it is true.
I have checked on backup and test db, really different.
Hence better way is review backup file.
Going back to the backup is not the solution, I need to know who deleted the answer, in my case it is one of the system administrators, but who did it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have idea, it is review access logs.
Just create a sample answer and after delete it.
Then you can create a specific pattern for review for example your nginx/httpd logs.
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree, I tried to understand what is the url hit when an answer is deleted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mustafa,
The query that you are using on the database will not work. When a question is deleted, the database entry will also be removed. The only way you can restore the answer is through a back-up.
As for seeing who exactly deleted what, within Confluence as a whole.. this is simply not a feature within Confluence. As an example I will take page deletion history;
https://jira.atlassian.com/browse/CONFSERVER-4792
This feature request has been open since 2005, which is asking for more detail into who deleted pages.
It seems that the team behind Confluence is not, at least for the time being.. considering deletion history as something they would like to implement.
So;
You will not be able to find out through Confluence who deleted the answer.
Friendly Regards,
Jeremy Mooiman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure, I can retrieve it from the back up, but who deleted it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mustafa,
Like I said in my answer.. unfortunately.. you cannot see this right now.
Friendly Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
You can try to use https://marketplace.atlassian.com/1220751 plugin to track pages deletion by spaces - in admin menu and in space tools.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.