As per the reference for Bitbucket hyperlinking to source code, the url template is as follows.
{+bitbucket}{/owner, repository_name}/src{/commitish}{/filepath}{?fileviewer}{#fileline}
The mandatory field owner is referred to as 'The account owner the repository that contains the target file'. I've tried the admin user of the repository, however this does not work. Is the owner field here the repository admin user or a different user?
The bitbucket version in use is v4.14.3