Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

When i do commits, i get following: This user cannot be matched to an Atlassian user, how to fix thi

Mudasar Ahmad Cheema
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2019

Hi, i have a atlassian user with my email provided from the company, i have created a repository behalf of the company, but when i do commits, my avatar dosent show up, just a placeholder and says that: This user cannot be matched to an Atlassian user. How can i fix this, because when i do commits, it now shows up, but when i merged and etc. via bitbucket my avatar url shows up, how can i fix this?

 

Skjermbilde 2019-09-21 kl. 13.24.54.png

This show when i commit, but when i merged and etc. via bitbucket i get it right:

 

Skjermbilde 2019-09-21 kl. 13.26.07.png

 

This is really annoying, how can i fix this?

 

In my .ssh folder i have a config where im using two ssh-keys:

Host *
UseKeychain yes
AddKeysToAgent yes

#Github (default)
Host gh
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa

#Bitbucket (secondary)
Host bb
HostName bitbucket.org
User git
IdentityFile ~/.ssh/id_rsa_bb

 

Thank you!

2 answers

1 accepted

16 votes
Answer accepted
Jay Yeras
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2019

If the email address in your commit does not match what's in Bitbucket you will see this behavior. I recommend generating ssh keys that include your email:

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

 Then configure git to use the same email address and user name you use in Bitbucket so that these appear in your commit log:

git config --add user.email "your_email@example.com" 
git config --add user.name "First Last"

 Good luck and happy coding!

Bhaveshkumar Pansheriya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2020
  • Configure email and name helped me no need to generate ssh keys
Like Kristoffer Robin Canlas likes this
Nishan Ranabhat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 14, 2024

Thanks for the answer. Like Bhaveshkumar said, configuring email and user name was sufficient for me without the need to generate a ssh key.

6 votes
ricardo.de.sousa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 2, 2020

Another option is to add your remaining emails address as alias at:

https://bitbucket.org/account/settings/email/

 

More info:

https://confluence.atlassian.com/bitbucket/set-email-aliases-792298714.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events