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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fully Deleting Users From Jira

We are attempting to migrate from on prem Jira to Jira Cloud. We have inactive users that we want to purge prior to the migration. We are getting the following message:

Cannot delete user. 'user' has associations in Jira that cannot be removed automatically.

We have had a Duckduckgo and there appears to be no definitive way to fully delete users in Jira? This problem appears to have been going on since at least 2013. Surely this cannot be the case? Otherwise, we would have to painstakingly work through thousands of items and reassign / delete them.

Is there any workaround or way to fully delete a user and re-assign or delete their comments, assigned and reported issues?

Thanks in advance.

2 answers

1 vote

It can get very very complicated - there are a lot of answers and things to think about, so I would start by simplifying the annoyingly complicated range of possibilities.

What user management system are you using?  (Internal, LDAP, Crowd, etc?) 

Thanks for your feedback. We are just using internal user accounts at the moment. Jira and Confluence are hosted on a standalone VM.

Sorry, I didn't see your update at the time! 

I won't repeat what Earl said just now - he's given us everything I'd want to say.

Like Earl McCutcheon likes this
1 vote

Hello @James Bourne ,

The following Document details what you need to do to delete a user:

Just like @Nic Brough _Adaptavist_ noted "It can get very very complicated" highlighted in the section at the bottom of the documentation for deleting a user:

Delete a user

We recommend you think carefully before deleting a Jira user. Consider deactivating instead and see the section above for more information. 

Before you delete, note that:

  • You cannot delete a user from within Jira if you are using External User Management (However, you can deactivate the user. See instructions above).
  • You cannot delete a user from Jira if they have:
    • reported or been assigned to any issues.
    • commented on any issues.
  • The filters and dashboards of a user will be deleted when the user is deleted, even if the filters or dashboards are shared with other users.
  • All issues that have been reported by or assigned to the user you are attempting to delete, are respectively hyperlinked to a list of the individual issues in the Issue Navigator.

The key takeaways are that to be able to delete a user, that account is tied to all the data they created for the data integrity portion of issue tracking and history events, so you first need to remove all the data associated with that user from all the issue they worked on in the form of comments, and assignments, owned filters, and issues the user created.  so the recommendation for preserving the data is to deactivate the user instead to avoid having to perform the data cleanup and preserve the chain of information tied to the original account.  Alternatively, you need to first go through and manually delete/modify the issues and data associated with the user before deleting them.

Then if you do choose to delete the account vs deactivation, just below that portion it gives the steps to delete the user in an expand macro, noting:

  1. Select Administration () User Management and find the user in the user list.
  2. Click the Delete link in the Operations column.
    The confirmation screen that follows will summarize any involvement of that user in the system by showing current issues assigned to and reported by that user, etc. These connections between the user and other parts of the system may prevent the deletion of that user.
  3. Take any actions required to disassociate the user with Jira. The error message will give you exact instructions but these may include:
    • Reassigning any issues currently assigned to the user.
    • Bulk-editing the issues created by the user and changing the 'Reporter' to someone else. You will also need to allow editing of closed issues if some of the issues the user created are closed and you do not wish to reopen them.
    • Changing the owner of shared dashboards owned by the user. See Managing dashboards.
    • Changing the project lead for any projects where the user is a lead.
  4. If there are no issues assigned to, or reported by the user, and the user has not commented on any issues, the confirmation screen will display a Delete button. Click to delete the user.


Thanks, Earl. So there's no way to just reassign all comments, tickets etc. to another user? What I'm trying to do is purge all the junk out of our Jira instance prior to moving it to a cloud instance. I don't want those dead users in the cloud instance as they incur a cost. Is there no database query that can be performed?

In theory, yes, you could strip them from the database, but, well, don't.  It will make a mess of your data, giving you some "interesting" errors on Server and quite possibly making your data un-importable on Cloud.

Stick with disabling the users - this breaks nothing, it retains the information that a particular person did things with the issues, and, probably most importantly here, disabled users do not count towards your licence!

Thanks. I found you could anonymize users. Which is basically acceptable. We have GDPR requirements and, as such, we choose to not leave personally identifiable information in systems when the employee has left the business after a certain period of time. It's still a weakness in not being able to delete users as you just accrue "dead accounts" over time. Does Jira Cloud remedy this? Or are we left in the same situation?

No, Cloud also needs the accounts so that it does not lose data.

I tried a migration to cloud. The legacy accounts are not migrated. The projects and tickets are migrated but you can't access anything afterwards. I checked the logs and everything looks OK except for warnings regarding an obsolete field or two. Does migration actually even work?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

85 views 1 12
Read article

Community Events

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

Events near you