Not seeing how to use SourceTree with Bitbucket Server

I'm trying to use SourceTree with our Bitbucket Server (which is not, 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 Champion Nov 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.

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 Champion Nov 15, 2017

The closest to a step-by-step guide is this one,

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...

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 Champion Nov 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.

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

693 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you