Pull request updates showing wrong user

How does Bitbucket determine which user updated a pull request? I have a team member that is creating the pull request and then pushing periodic updates, but for some reason the periodic updates show that they are being updated by the wrong user. The commits themselves reflect the correct user, but it says that another user updated the pull request with the commits. Why could this be?

1 answer

Is your team member possibly using someone else's credentials, for example by using a shared username/password when pushing over HTTPS?

We checked his repo config, as well as his global git config, and they all seem to be setup properly.

His local config should be fine if the commit author information is correct. I think the credentials Dan is referencing are the credentials being used to access the remote, or maybe the credentials set up for the Bitbucket Extended Integration.

In other words, check Repository > Repository Settings... > Remotes

and

Clone > Globe icon (Browse Hosted Projects) > Edit Accounts...

His origin URL is setup with his username, but it doesn't ask him to authenticate when he does a fetch/pull/push command and he says he never supplied his password. I think the other user had signed into his Atlassian account when SourceTree was installed on the machine, but we can't figure out where the credentials are being stored.

Suggest an answer

Log in or Join to answer
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...

652 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot