stash set author display name to use email instead of user name

Is it possible to change the display name stash users to display the author of each commit? Currently it shows the authors user name and I was wondering if that can be changed to show the authors email address. Sort of how you can do "git blame --show-email [file]". So I want to use email as the display name in the stash repository browser when browsing the repo.

1 answer

This widget could not be displayed.


I'm afraid that we don't currently have any mechanism for displaying that information in Stash. I suspect your best bet is watch/vote for this issue, which is about linking a committer to a user profile page (or some fallback):



Hi Charles, thanks for the quick reply. The issue you referenced isn't exactly what I was looking for, although I do think that feature would be nice too. My question and issue is merely for display purposes on existing UI. My company is using ldap for authentication so every comitter's user name is each users issued company id which is meaningless for developers. If you want to see who made a change, it requiers looking at the committers Id and than looking that id up in our company directory, pretty tedious! I took a screen shot of it on jing, this might help explain it better:

Basically we would like to configure the stash UI to display the author as instead of author.username. Does that make sense and is that possible?


Sorry, I wasn't suggesting that the above issue was exactly what you were looking for, more that it's something that we plan on doing and will require a change to how we show the author. I imagine that by looking up the user details at that point we could also display their 'name' rather than what's recorded against the commit (unless the user couldn't be found). I think that would then be roughly equivalent to what you're looking for?

Something that I forgot to mention that might be able to help in the short term is our upcoming support in 2.5 for '.mailmap' files, which would allow you to override the displayed userid with a real name. This has the extra benefit that you would get the same result when running Git locally.

Other than that I'm not sure if we have any intention to reveal the email address as well. I will have to ask someone on my team and get back to you.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,296 views 8 11
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