from time to time, I experience problems when trying to delete a user from jira.
Hopefully you can guide me on this. I have a user with id 'aem' that has left our company a year ago. When I click on 'delete user', I get an screen stating
This user cannot be deleted at this time because there are issues assigned to them, they have reported issues, or they are currently the lead of a project. Please note that any components with this user set as the lead will have the component lead set to empty when the user is deleted.
In the following overview, the 'assigned issues' field has value 1, which is a link. If I click it, I get an information panel saying 'No matching issues found. '
When I search all issues with query "assignee = aem", I get 'no matching issues found' as feedback.
Any ideas what I can do to actually remove the user?
Generally, you do not delete users in Jira, you just remove them from all groups and roles, and make them inactive. That stops all usage, they won't be assignable any more, and they don't use up any licence seats.
However, you've got a mismatching data item here which is also worth checking, because it could be a system error. There are three things I can imagine throwing you into this state:
I'm afraid you need to dig to work out if 1 or 2 are occurring - check the permission schemes on all the projects. Although it might be worth starting with aem's roles and groups - check you can see the same as them to start with. For problem 3, you'll need to re-index Jira to correct it.
I have this problem as well. When I attempt to delete the user it says that the user has reported issues. The user can't find any issues they have reported, and when I log in as an admin and search for any issuses reported by this user I get not results.
I have reindexed twice and restarted the server once to find that JIRA still thinks this user has reported issues.
FYI - JIRA 6.0.1
Any other thoughts on deleting this user?
You have not mentioned the permission or security schemes. My guess, as you've reindexed, is that the issues are hidden from both of you for some reason.
Remember that "admin can do everything" is a bad usage model and it's quite easy to set up Jira so that issues don't appear to administrators by default.
maybe you are right. I have tried different things to find what could be reason not to be able to see the issues of that user. She did only participate in 3 projects and I cannot find anything unusual in the settings for those projects.
I am stuck. Hopefully next time this issue occurs again it gives me an opportunity to find the real reason for this.
thanks anyway for your help, Ruud
Only thing I can think of is my last resort - reading with sql. Assuming your user logs in as bob:
Select * from jiraissue where reporter = bob ;
Select * from jiraissue where assignee = bob ;
Select * from jiraaction where author = bob ;
Those should find everything that Jira thinks is blocking the deletion of bob. Won't tell you why you can't find them though :-(
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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