Redirects from a custom domain leads to a 404 (BB-8628)
When Bitbucket sends a redirect it does not take into account the custom domain.
I setted custom domain for organization account. Than I click on link https://my_domain/my_proj/changeset/my_changset, I redirected to not existing page https://my_domain/MY_ORGNAME/my_proj/commits/my_changset. If I manually remove MY_ORGNAME from url - page was loaded well.