Hi,
Some administrator in jira made the following mistake, amplified by a bug in JIRA I believe (or 2).
Assumption: username of admin if peter, it's an account in a delegated user directory (AD).
1) Peter logs in to JIRA, goes to user management
2) Peter creates an INTERNAL user with username (also) peter. ( by mistake, but jira doesn't warn him or block this action).
3) Peter gets logged out because this new internal peter overwrites his own account
4) Another admin logs in and sees the new *internal* peter account.
5) Upon viewing this user, JIRA tells us there are duplicate accounts (no kidding, but better late than never).
6) Admin changes the username of the new peter account to 'peter_new'.
7) Now the old peter account from the delegated directory shows up in the list of users again. All good?!?!?
8) No! JIRA has connected every single action and issue from the 'peter' account to the 'peter_new' account. So peter_new is suddenly the reporter of thousands of issues from years ago, also peter_new is the assignee of open issues. All comments seem to be made by peter_new.
I did create a support ticket, but response is slow.
Is there any easy way I can move back all issues, comments, etc to the original 'peter' user? Some SQL probably?