Changing the User Display Name Attribute to Concatenate the Default givenname and sn in LDAP

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

Issue

Take a look at this user example:

(Auto-migrated image: description temporarily unavailable)

Naturally, you will need the Display Name to show "John Doe", instead of "John", or "Doe". This is on paper, not possible, since the User Display Name Attribute field in the Directory's configuration in Crowd only takes a maximum of 1 attribute. (Hence we can't specify it as "givenname sn").

Workaround

Login to Crowd console, then navigate to Directories >> View (your LDAP Directory) >> Configuration tab , and look for the User Display Name Attribute:

(Auto-migrated image: description temporarily unavailable)

Modify it to a dummy value, such as the one shown above. Crowd would fall back and set user's Display Name to the default (User First Name Attribute) + (User Last Name Attribute). From the case above, the Display Name should fall to (givenName) + (sn).

After that, save the configuration, and sync the directory again.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.