The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

TAGS
AUG Leaders

Atlassian Community Events