we have our company´s Active Directory synchronising with JIRA as external directory. When in AD usernames were changed, we use "Rename User ID" to merge both users. If the old user does not exist any more, we then create a JIRA internal user with the old username and merge afterwards. I did that dozen times.
Today I merged "sk1043" to "s.kehrle" after creating sk1043 as JIRA internal user. Everything worked fine (test and real merge) without errors on my user interface.
But shorty after that I got calls of collegues that were missing dashboards, browsing rights and so on. I found that these users lost a projectrole in the project they were working.
Attached you see the log extract of that action. Seems like the script catched several instances which were not in my usercontext (kypkej) . Some of the users that could not be found are workers that already left the company, but some are not...
I will search in my logs if these errors occurred before with that script without anybody getting aware of...
How could that happen? Why was there no error on my user interface? Is their a way to redo that or do I have to manually search for the projectroles that got deleted?