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@192.168.33.219, 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'?

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,755 views 1 5
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