JIRA not syncing BitBucket Users

I was under the impression that commits from BitBucket users would be linked/attributed to JIRA users whose email address matches that of the BitBucket user?

However, in my Recent Activity, I see details of recent commits with the email address and BitBucket username instead of my JIRA username (and avatar etc). My JIRA email address and BitBucket/GIT email address are the same.... Shouldn't JIRA then identify my JIRA username and avatar with that commit?

3 answers

1 accepted

As Razaq correctly pointed out, the userbase for BitBucket and JIRA are not the same, but I hear that is going to change quite soon and will therefore solve my problem..... All being well.

Is there no chance of having a way of mapping the emails? Eg. adding additional emails to a Jira account? When you hire developers these days they're all going to have their own GitHub and BitBucket account (and having more than one is akward). This is only going to get more of an issue over time.

Does your local Git client config (/.gitconfig) Email address match your JIRA Email address? only then it will be mapped correctly.

Yes, my email address is the same in my local repo (confirmed using 'git config user.email') and in BitBucket and in JIRA......

Sorry, I believe I misread your question. This is expected, it will show the information of the BitBucket user as that's is where the DVCS Connector gets it's information about commits/commiter. For more details you can refer to:

https://confluence.atlassian.com/display/AOD/Linking+a+Bitbucket+or+GitHub+repository+with+JIRA+OnDemand

Oh. Is there no way to attribute commits to JIRA users? Perhaps that will be possible in future versions as BitBucket integration improves? I suppose the best solution would be to have one identity between JIRA and BitBucket, rather than two as is the case now.

The reason is that infact your JIRA user base and BitBucket userbase are different. I'm not sure if in the future this will change. But currently only users with matching local Git and JIRA Emails will be able to make smart commits to action your JIRA issues, but other than that there's no integration of users.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,870 views 12 18
Join discussion

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