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?

2 answers

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.

I have been struggling with this for 2 months. Two of my teammates also face the same issue. 

Commit information is correct but the Name in the PR email and periodic updates shows other Teammate's name. 

We have checked all settings, global config, etc. and it shows everything correct. Is there any resolution for this?

PFA ref screenshot. Pratik is incorrect name, Rajendra is the correct author and committer.


Screen Shot 2018-03-08 at 1.06.36 PM.png

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