It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Show usernames instead of realnames

Erik-Jan Riemers May 26, 2012

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
Answer accepted
David Simpson Community Leader 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:

<script>
AJS.toInit(function(){
  AJS.$('a.confluence-userlink').each (function(){  
    AJS.$(this).text(AJS.$(this).attr('data-username')); 
  });
});
</script>

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 :)

Erik-Jan Riemers May 27, 2012

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.

Erik-Jan Riemers May 27, 2012

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
Jobin Kuruvilla [Go2Group] Community Leader May 26, 2012

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.

0 votes
Anne Linden Apr 08, 2015

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,709 views 6 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you