Is it possible to change a user ID in JIRA?

Peter Callies
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.
January 22, 2013

Is it possible to change the value of a user ID in JIRA without resorting to database manipulation?

5 answers

1 accepted

0 votes
Answer accepted
darylchuah
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2013

Hi Peter

Unforutantely, currently JIRA does not have the ability to change usernames. If you are interested in this feature you may wish to vote and watch JRA-1549 - Ability to rename a user - OPEN .

Cheers

0 votes
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 27, 2013

You can export the entire database to XML, do a find/replace all and then import it. Make sure you have a backup.

0 votes
Sean Rich January 23, 2013

You can use the Script Runner plugin ( https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner ) to change usernames.

Naren
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.
January 23, 2013

To my knowledge, scriptrunner plugin won't update the username values in the single/multi user picker customfield. You have to update the database for these customfield with desired username and then you can go ahead with renaming the user.

NOTE: Update the database for the customfield values before renaming the user using the above plugin. Remember to take a backup and shut down the JIRA instance while updating the table. Once verified at the database level, restart jira and reindex it and check if the changes are reflected.

0 votes
Peter Callies
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.
January 22, 2013

Yes, username.

0 votes
Rahul Aich [Nagra]
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.
January 22, 2013

Did you mean username? I did not get the term user_id

Rahul

Suggest an answer

Log in or Sign up to answer