Username updates are not showing up correctly under User Details page

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

<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" />


Last modified on Jun 19, 2014

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.