I got a wrong link like this:
{'body': '**[Original report](https://bitbucket.org/blais/beancount/issue/91) '
'by Dominik Aumayr (Bitbucket: [Dominik '
'Aumayr](https://bitbucket.org/Dominik Aumayr), ).**\n'
If you go to the issue at https://bitbucket.org/blais/beancount/issues/91 and hover over his name, you see his name but no user name. Whereas if I go to https://bitbucket.org/blais/beancount/issues/92 and hover over that user, I see a name and a user name.
So it seems some people don't have user names on BitBucket. In that case you shouldn't create a BitBucket link.