We run a private JIRA instance and use a bitbucket repository. Commits are propagated to JIRA by the DVCS Connector addon.
JIRA is unable to link/map my bitbucket user to my JIRA user. So whereas issues created by my account appear as "created by [NAME] [SURNAME]" in the Activity Log, my commits appear as "created by [NAME] [SURNAME] - [USERNAME]" and dont refer to my JIRA account but to my bitbucket account when clicking on them. Those commits also do not appear on my personal Activity Log and smart commits dont work too.
I already made sure that my JIRA email matchs the primary email of my bitbucket account and the email I use when doing commits. The problem still persists though.
Matching email address is part of the process. If you have OnDemand, you will need to follow this process as well: https://confluence.atlassian.com/display/AOD/Linking+a+bitbucket+or+GitHub+repository+with+JIRA+OnDemand
I think I've solved the problem in my own situation. I had multiple user accounts using my email address in Jira. Once I'd gotten rid of those, smart commits started working... But the commits still show up as being from my Bitbucket user, not my Jira user, which is the issue the OP describes.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot