Why can't I delete a user from Confluence? Edited

Recently, we had an employee leave the business. When trying to disable and delete the Confluence account, we have ran into some issues. I am unable to delete the user because: (see screenshot)ConfluenceUser.PNG

 

We went into the Database and changed all content and last modified fields to my Confluence ID and we delete all drafts (and succesfully disabled the user). This user does not own any spaces within Confluence. However, it does say that the user is an Author of a page in Confluence but we can't find a way to erase or change who authored a page.

 

I've read a lot of discussion about this but it's kind of ridiculous that administrators can't delete users in a software that we pay for. Is there any database query I can run to completely erase everything a user owns? Any suggestions? Please help.

3 answers

3 accepted

Deleting users from Confluence/JIRA is not recommended rather you can disable/de-activate the user.  This would help to keep the track of all spaces/records where the user worked on. 

 

I understand, I have already disabled the user so they cannot log onto the system, but it would be nice to have the ability to delete users. 

I have previously deleted a user and now need to delete all their content, any idea how I can do this?

They no longer appear in the Users Directory, active or inactive.

1 vote
Danny Zuccaro Community Champion Apr 27, 2017

Believe it is by design that you can only disable and not delete a user that has created content. If you want to go the manual path to changing all created content you could try the steps on this page - https://confluence.atlassian.com/confkb/how-to-change-the-creator-of-a-page-720830744.html?_ga=1.264445775.1711482267.1484079204 and then delete the user. 

Yes. We have modified the database with this SQL Query already and changed all pages create by this user "xyz" to a currently user "abc" however, the page still has an "Author" field which cannot be changed for some reason. 

0 vote

Vishnukumar and Danny have already said most of what I would normally say.

I just wanted to add "do not edit the database".  You've missed things, and it's a nightmare to unpick. You also now have a possibly corrupt and definitely unsupported database.

Just disable the user and move on, it's not worth trying to force a delete this way.

I did notice a few things is Confluence behaving different after the changes but we created a backup prior to any manipulation and reverted back. Everything is fine now but I just expected an easy way.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

380 views 21 10
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you