Not seeing how to use SourceTree with Bitbucket Server

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,751 views 1 5
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