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

0 vote

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