Why does bitbucket show the wrong userid for my commits?

I created a new Bitbucket project and repo.  I cloned the empty project, dumped a codebase into it, committed it, and pushed to the server, using the Eclipse Egit interface.  This all worked fine, but I noticed in the commits list on the Bitbucket web site, the "Author" column was not my regular login uid, but a "service account" that I've created for some purposes in the past. I checked my "git config" (both repository and global), and there is nothing that refers to that service account. There is also nothing in my Eclipse preferences that I can find that refers to this service account.

I later made another change on a branch, pushed to that branch, created a pull request, and merged that pull request. The "Author" notations for those changes are almost all correct, using my actual name and userid, only the commits have the wrong userid.

1 answer

This widget could not be displayed.

Is the service account linked to your email address by any chance?

Yes, I finally determined today that since Bitbucket is using LDAP, and both my service account and my regular userid are associated with my email address, it's just semi-randomly picking a userid to associate with my email address.  Is there a straightforward way to make it always associate my email address with my regular userid?

I do not think so. Still an open issue: https://jira.atlassian.com/browse/BSERV-4603

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,337 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