Not seeing how to use SourceTree with Bitbucket Server

Dave Can November 14, 2017

I'm trying to use SourceTree with our Bitbucket Server (which is not bitbucket.org, it's its own domain we host), but the Windows install seems to be requiring me to use an existing Atlassian account, which I don't have.

1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 14, 2017

The Atlassian account is needed to register Sourcetree, so if you do not have one you need to create one during the install. Once you have done the install you will use whatever account you have for Bitbucket Server to access your repositories.

Dave Can November 15, 2017

I tried that, got the "Connect an Account" screen, clicked Bitbucket Server, put in our host URL, Authentication Basic, typed in my username and password, clicked Continue, and nothing happened.

After a few seconds the Continue button grayed out and I could put the cursor in the fields again, but nothing got the Continue button to light up again.

What's going on? Is there a step-by-step guide for doing this? I've never had this kind of trouble setting up SourceTree before.

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 15, 2017

The closest to a step-by-step guide is this one, https://confluence.atlassian.com/get-started-with-sourcetree/install-sourcetree-847359094.html

I tell my users to just skip the setup of the account for Bitbucket Server and do that later. If you skip it, after Sourcetree starts, just click on a new tab > Remote and then add your account there by clicking Add an account...

Dave Can November 15, 2017

OK trying that gives me the Edit Hosting Account box where I put in my details but the OK button is grayed out and there's no password field, instead in its place is a Refresh Password button says invalid URI... I'm not sure what to put for Host URL if I can already select HTTPS from the drop-down, the host URL is just our FQDN. Authentication has no other option than Basic.

Edit Hosting Account.png

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 15, 2017

Add http:// or https:// and the port number at the end, it should be the same URL that you use when accessing Bitbucket from a web browser. Leave the protocol and authentication as is.

Dave Can November 15, 2017

Why would it have a drop-down for HTTP/HTTPS but require I put the protocol in the URL? That seems redundant or contradictory.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events