There was already a similar question for HTTPS, but I did not manage to apply the solution to my setup with SSH.
Fetching via SSh works, but the remote button leads to a dead link. I figured out that I need to adapt the Host Root URL, but I do not know how, because the URLs differ to much.
Correct URL would be:
https://<server>/bitbucket/projects/OTA/repos/mqb_e2e_automation/browse
but my setup results in
https://<server>/bitbucket/projects/ota/mqb_e2e_automation
It seems that sourcetree just adds the relative path to the root URL, but for the switch from ssh to HTTPS this is not enough ( /repos/ should be added into the relative path) .
Is this possible? Or another way to open the remote repo via SSH?