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 votes

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 Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

312 views 0 12
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