Show usernames instead of realnames

Like the topic says, how do i only show the usernames instead of the realnames on jira/confluence when people made updates to it. Since we use it in out community they usually prefer their "nickname" rather then the full name. Forcing everyone to use a nickname is then easier then forcing their full name. (otherwise you get those mixed realnames/nicknames)

3 answers

1 accepted

0 votes
Accepted answer
David Simpson Community Champion May 26, 2012

In Confluence, you could do this fairly easily with a bit of JavaScript...

Browse to Confluence Admin | Look and Feel | Custom HTML

In At the end of the HEAD, paste:

  AJS.$('a.confluence-userlink').each (function(){  

Likely with JIRA, it would be a bit more complicated because of all the 'AJAXy' functionality.

Another workaround would be to just populate the Display Name with the same text as the username on account creation, then disable the ability for a user to change their display name :)

Really like the confluence sollution, would be really nice if something so simple was for jira too. And ofcourse i can chuck the username into display name but i want people to have the option.

As a side note to your sollution, it only works when users are logged into confluence, so its still a mixed one then :)

0 votes

You can write a User Format plugin to define a new user format and then configure JIRA to use that format everywhere.

The new user format can use the username instead of fullname in the velocity template.

If you're an admin you can go to User Management, find the User Directories and select the one containing your users.  At the bottom there should be a User Schema Settings section which you can use to adjust the username.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

84 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you