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 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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

157 views 1 17
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