Links from Commit Logs to Tickets not working with custom domains
When using bitbucket with a custom domain, the links within commit
messages that are supposed to point to a referenced Ticket (#123-Links)
do instead point to a 404 error page. This applies to all occurences of
these links, on /changesets, /overview and the wiki.