We have updated user first, last and display names from a legacy database.
This has been mapped to Jira cwd_user tables as documented at https://developer.atlassian.com/server/jira/platform/database-user-and-group-tables/
However, after an index rebuild, this (display name) is still not showing correctly in Jira and Service Desk.
Have we missed something?
Q. Did you take your Jira completely offline before making the changes, and back it up in full?
A. JIRA is backed up daily, but was not taken offline when these changes were made.
Q. What do you mean by "mapped"?
A. When our service desk customers were bulk loaded into JIRA (via JIRA APIs) the username, login and display names populated as the client's email address (in cwd_user). We have user data in our legacy database for our clients (first name and surname) which I have now updated against the cwd_user table in the first_name, last_name and concatenated for display_name (and the respective cwd_user xxx_lower fields).
I would have expected this to result in the service desk customers being viewed in JIRA displaying their names rather than their email address, however this is not the case.
A - JIRA is backed up daily, but was not taken offline when these changes were made.
Ok, right. It is good to have daily backups and I wish more people did that (sadly, including myself, as I found out today that half my atlassian servers were backing up to a failed disk and not telling me)
You need to stop your Jira system and revert to the backup that was last taken before you did this. This sounds extreme, but it is accurate. You should never write to the database for a Jira system that is running. Best case, you get away with it because you've hit on one of the few places it does not matter (I know of four columns I can update safely). Worst case, you lose the lot, and that can happen a LOT more easily than you think.
Never write to the database for a Jira system that is running.
It should do. Part of the reason for having it offline is that it loads chunks of the users into memory so it doesn't ask the database for their data all the time. This can be written back too, destroying the changes you've made.
That can't happen when it's not running - it will build a new cache from the database that you've updated, using your new names.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs