How to delete user with many associations?

CaptainJonesy October 26, 2014
Hi, 
I'm attempted to delete user (ex-employee) but JIRA states the following below: 

"Dan Cannot be deleted because of the following problems

Please resolve the following application references.

  • Cannot delete user 'Dan' because 182 issues were reported by this person.
  • Cannot delete user 'Dan' because 42 issues are currently assigned to this person.
  • Cannot delete user 'Dan' because they have made 114 comments."

How would go about resolving this? Other than going through each bug individually deleting each comment and reassigning each bug which would take forever. Is there a way to automatically change of all bugs with "Dan's" input to another user for an example to resolve these requirements above?

Thanks for your input.

Chris  

2 answers

1 accepted

1 vote
Answer accepted
Udo Brand
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 26, 2014

Remove the user from all groups and set him inactive. The user won't count towards your license anymore.

0 votes
CaptainJonesy October 26, 2014

Hi Udo, 

Good idea. I've removed all groups and unticked his access to JIRA, still the same message is displayed. Attached screenshot below, any other ideas?

Untitled.jpg

 

Udo Brand
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 26, 2014

You don't need to delete him anymore, since he is inactive. What you should do is to update the assigned issues (maybe via bulk edit). I would leave the reporter as well as the comments.

CaptainJonesy October 26, 2014

Good to know :) Do you know if there is a way to bulk edit all of his assigned bugs without having to enter each bug individually?

Udo Brand
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 26, 2014

Create a filter assignee = Dan then you have in the upper right corner under "Tools" the option to bulk change (if you have that provilege). It might be that you have to do this in several portions since issues could be in different states, issue type, project...

Juan Felipe Cardona
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 26, 2014

Hello Chris Another good practice is to put something on the name for you to know that the user is inactive. We use: Name (inactive) We also change the email of the incative user to user_email@example.com , just to prevent that some wrong configuration from our side send an unwanted mail to them.

CaptainJonesy October 26, 2014

@Juan - Good point/practice, thanks :) @Udo - Thank you very much for the tip. You're been very helpful :)

Juan Felipe Cardona
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 26, 2014

(y) Good to know it helped you!

Udo Brand
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 26, 2014

Glad I could help

Suggest an answer

Log in or Sign up to answer