Hello
We changed the username of a user in JIRA but when filled his timesheet, we notice in the table [jiradb]. [Jiraschema]. [Worklog] that it is his old trigram that is displayed. What is the procedure for changing the username of a user or what are all the SQL Tables to be modified ?
Thank you
Directly updating the JIRA database is never a good idea. There is no published schema and things are spread out all over. You may never get it straightened out.
The username is stored as a string in many many tables. Your user management setup (local users, Crowd backed etc) and config settings in each can have a big impact on how cleanly a rename propagates. If you can give some background on your user directory setup, the community might be able to provide a solution.
CCM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To be more specific I would like to know why when we changed the username, on the table [jiradb]. [Jiraschema]. [Worklog] we continue to have the old username. what must be done for the new username name to replace the old one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi JoseM,
So it sounds like you renamed the user in the database directly. The user admin UI supports renames, so wondering if you attempted to use that first instead of jumping straight in to the database?
There's also an app_user table which is very important when it comes to usernames/renames.
CCM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.