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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

195 views 1 3
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