Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,481
Community Members
 
Community Events
184
Community Groups

Can I use concatenated fields for "User Display Name Attribute"?

I'm setting up Internal Directory with LDAP Authentication.

I want the User Display Name Attribute to show a combination of two LDAP fields, ie. "givenName sn". This is because my LDAP Server doesn't publish displayName in the format I want.

Can I concatenate multiple fields for this property?

4 answers

3 votes
Zul NS [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 27, 2013

I've recently get the chance to test this, and found out that I can configure the User Display Name Attribute to be from two combination of LDAP fields. This is what I configure in my DELEGATED LDAP configuration to OpenDS on JIRA 6.0

User Display Name Attribute: cn sn

EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2013

The original question was specific to Crowd, and at least in version 2.5.3 < it does not work.

org.springframework.ldap.InvalidSearchFilterException: invalid attribute description; nested exception is javax.naming.directory.InvalidSearchFilterException: invalid attribute description; remaining name 'ou=People,o=org'

This works perfectly under JIRA Software 7.0.4 without Crowd. Thanks. 

1 vote
EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2013

I found a solution that works in Crowd, assuming the concatenation you are looking for matched the fields specified in "first name" and "last name" fields.

If crowd is given an attribute it can not find, it will fall back on concatenating first and last name.

Specifying a bogus field for 'user display name attribute' will concatenate 'user first name attribute' and 'user last name attribute'

0 votes
LucasA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 15, 2013

Hi My,

As far as I know, this is not possible:

- https://jira.atlassian.com/browse/CONF-29272

Best regards,
Lucas Timm

0 votes
EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 05, 2013

Would love to see this too. Our enterprise LDAP server admins never update displayName, and so it uses maiden names and other outdsated information where as givenName and sn are always accurate.

I know other tools allow values like {givenName} {sn} for the attribute to concanate, but this made Crowd blow-up.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events