Username updates are not showing up correctly under User Details page
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Changes to a user's full name show up correctly under Bamboo's User Management page, AD and JIRA, but when selecting the user it still has the old name under User Details page. Example: User with Username "sepids" has a new last name: "Setafar". Changes to her last name are not reflected correctly under User Details page:


Resolution
Restarting Bamboo will update the cache and should fix the issue. You can also add the following block to the "ehcache.xml" file under <bamboo-installation-directory>/atlassian-bamboo/WEB-INF/classes to resolve the problem:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<cache name="com.atlassian.user.impl.ldap.LDAPUserManagerReadOnly.adRepository.users"
maxElementsInMemory="500"
eternal="false"
timeToIdleSeconds="20"
timeToLiveSeconds="20"
/>
<cache name="com.atlassian.user.impl.ldap.LDAPUserManagerReadOnly.adRepository.users_ro"
maxElementsInMemory="500"
eternal="false"
timeToIdleSeconds="20"
timeToLiveSeconds="20"
/>
<cache name="com.atlassian.user.impl.ldap.LDAPUserManagerReadOnly.adRepository.repository"
maxElementsInMemory="500"
eternal="false"
timeToIdleSeconds="20"
timeToLiveSeconds="20"
/>
<cache name="com.atlassian.user.impl.ldap.LDAPGroupManagerReadOnly.adRepository.groups"
maxElementsInMemory="500"
eternal="false"
timeToIdleSeconds="20"
timeToLiveSeconds="20"
/>
<cache name="com.atlassian.user.impl.ldap.LDAPGroupManagerReadOnly.adRepository.groups_hasMembership"
maxElementsInMemory="500"
eternal="false"
timeToIdleSeconds="20"
timeToLiveSeconds="20"
/>
<cache name="com.atlassian.user.impl.ldap.LDAPGroupManagerReadOnly.adRepository.groups_getGroupsForUser"
maxElementsInMemory="500"
eternal="false"
timeToIdleSeconds="20"
timeToLiveSeconds="20"
/>
<cache name="com.atlassian.user.impl.ldap.LDAPGroupManagerReadOnly.adRepository.repositories" maxElementsInMemory="500" eternal="false" timeToIdleSeconds="20" timeToLiveSeconds="20" />
Was this helpful?