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)
It doesn't support renaming users across directories. Upgrade to the latest version of jira which should support this.
I'm going to remove this function in the next release.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.