We are testing an excercise of renaming users on JIRA. We are trying to do a directory change where users get different usernames upon the change. All past history, dashboards, queries, etc. must retain at each user (person) upon the change.
To get this done, we used the Groovy Runner plug-in. There is a one canned script provided to rename/ merge users. However, when using this to rename users, sometimes user rename does not happen. Seems it performs updates on JIRA database partially -- eg. JIRAISSUE table is not updated, PROJECTROLEACTOR table is updated, CWD_USER table is not updated. Provided the statcktrace below, would you be able to help me to find any causes for this behaviour?
Please leave a comment if you need any additional information.
Attached is the stacktrace (log-rename-user.txt) . (I had to mask some of the words/ phrases as I'm putting the whole thing on the Internet)
Thanks for your answer!
All past history, dashboards, queries, etc. must retain at each user (person) upon the change.
Quoted above is the main concern in this excercise. Does the latest version take care of these as Groovy canned script does?
Otherwise, we will have to find an alternative woraround, for example PL/SQL to update all user references across the database.
As I have said above we had to use PL/SQL for this instead of Groovy. We achieved 100% success (~350000 issues/ ~1800 users). Below are some points that I want to highlight.
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