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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,309 views 26 12
Join discussion

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