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?
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;
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.
You will not be able to find out through Confluence who deleted the answer.
Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs