Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can we find out who deleted a question or an answer in confluence questions?

Mustafa Abusalah October 31, 2017

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?

3 answers

3 accepted

2 votes
Answer accepted
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 31, 2017

Looks like it is true.

I have checked on backup and test db, really different. 

 

Hence better way is review backup file.

Mustafa Abusalah November 1, 2017

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?

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2017

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

Mustafa Abusalah November 2, 2017

I agree, I tried to understand what is the url hit when an answer is deleted.

1 vote
Answer accepted
Jeremy M
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 31, 2017

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

Mustafa Abusalah November 1, 2017

Sure, I can retrieve it from the back up, but who deleted it?

Jeremy M
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 1, 2017

Dear Mustafa,

Like I said in my answer.. unfortunately.. you cannot see this right now.

Friendly Regards,

Jeremy

0 votes
Answer accepted
Andrii Tkachenko _BeastieHut_ June 25, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events