Why are some user commits not associated with their user account?

On the Bitbucket Commits page, the Author column, some users are their full name with a link to their profile page, but some users are just a username with no link.  It looks like some commits aren't be associated with their user account.

Possibly related, I've noticed on our Awesome Graphs, Contributors tag, there are multiple entries for some users.  The "main" user has full name, correct email, link to profile, but some are different (using local IPs or hostnames).  For example: John Smith (jsmith@ourdomain.com), but also jsmith (jsmith@, and jsmith (jsmith@JSMITH-LT).

If it's relevant, we're using JIRA for our user management/directory and Eclipse to commit code.

Thank you

2 answers

Have you told all your users to put in their 'git config --global user.name'?

Adam Ahmed Atlassian Team May 24, 2016

Yeah I think you answered your own question a bit. :) The committers in Git can be any string. Bitbucket attempts to link the committer to a user with matching email address. If there isn't one, it remains unlinked. You should try to get committers to configure their information to match their Bitbucket user. To fix historical mismatches, I'd suggest looking into using Git mailmap to map those other committer email addresses back to the main one. Bitbucket will respect the configuration you use there.

1 vote

This article also details the process described by @Adam Ahmed : Commit in Bitbucket Server shows a different username than the one that pushes the code.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

689 views 5 9
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