SourceTree's "Remote" button opens dead link on BitBucket server SSH version

Florian Foohs January 8, 2025

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?

Screenshot 2025-01-08 094712.png

 

1 answer

1 accepted

0 votes
Answer accepted
Florian Foohs January 13, 2025

I circumvented the issue by saving a bitbucket server account (I think with personal access token) in Sourcetree and selecting that instead of the Generic Account.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events