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?

3 answers

0 votes
Daniel Tao Atlassian Team Jun 20, 2016

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

I am also facing a similiar issue where my PR updates is registered by some other name. All the other normal commits is picking up my names correctly. Any help on this appreciated?

My team used @Guillermo F. Lopez Masson's solution and it worked for them.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

216 views 3 7
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