Cannot remove users from project roles, users cannot see their projects

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

Summary

Symptoms

Administrator of the instance is not able to remove users from project roles. Next to that, users cannot see their projects upon logging in.

The following appears in the atlassian-jira.log:

1 2   2012-10-16 15:56:27,899 http-8080-3 WARN anonymous 956x149634x1 ba6xq2 141.192.133.82,127.0.0.1 /rest/gadget/1.0/login [atlassian.crowd.directory.DelegatedAuthenticationDirectory] remote username [ XXXX ] casing differs from local username [ xxxx ]. User details will be kept updated, but the username cannot be updated

Diagnosis

Check the username of the problematic user in LDAP. It will be stored with mixed case or upper case. However, in JIRA the username will appear in all lowercase.

Cause

This is caused by a bug within JIRA as tracked in JRASERVER-29025 - Mixed case usernames breaks the connection between JIRA and LDAP for User Management. As listed there it has been fixed in JIRA 6.0.

Solution

Resolution

Upgrading JIRA to the latest version will fix this bug. If this is not an option, the User Directory will need to be recreated to correct the username casing.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.