It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

getting the https url of a bitbucket repo from a ssh url

Hello friends:

Thank You for your time and attention in advance.

I am in a situation where I have clone a Bitbucket repo with a ssh url.  It works well.

But for sharing info with other teams and other members of our team I would like to send a https url.

For example I have

ssh://git@bitbucket.es.ad.adp.com:7999/upenv/configuration-values.git

How to get the https equivalent of that aka

https://abcd@bitbucket.es.ad.adp.com/scm/upenv/configuration-values.git

 

Kindly help.

-Narahari

3 answers

3 votes
Kim Fox I'm New Here Mar 22, 2019

WHY?!?!?!? Every time I go to do this I'm hunting for like 30 minutes for it. Where is this clone button??? And why can't they list this information like normal people. 

I agree with you. It is absolutely the worse user interface that I have ever come across. I have just spent ten minutes trying to figure out what the git address is. That should be on the landing page!!

Seriously pissed with the design.  Finding myself running in circles trying to find this crucial information every single time!

0 votes

Hi Narahari,

The best way is for the user to obtain the URL using the UI.

You could also get the Clone URL by using a REST endpoint - no need to use a browser, if that's your situation. I explained that on https://answers.atlassian.com/questions/39424368. Note that the output contains both HTTP and SSH clone URLs.

If the users already have the SSH URL, deriving the HTTP url is easy; as you can see the only difference is the SCM and also the port; you seem to be running Bitbucket behind a proxy which is the reason why you don't specify the port number.

I hope that helps.

Thiago

"The best way is for the user to obtain the URL using the UI."

 

Yes, but how do you do that ?

There is a "clone" button on the sidebar

Thiago,

can the URL be added to the Repository Details page under settings? This is very basic information for a repository that should definitely be easier to find than your suggested methods.

Thanks,

Nick

Like umahatokula likes this

I agree with the request above. It's painful to find the repository url (which is NOT only used for clone!)

Like # people like this

It's in the clone button popup. and under the repo name in the settings page

DerekM 
 I don't see the url "under the repo name in the settings page" ... do you?

 Yes, it's in the "clone" popup, but it's bad design that it appears only there. I'm not intending to clone.

 

 

Clipboard-1.jpg

Like # people like this

I've just lost several minutes looking around for that exact same information (a repository's URL), and came here through a google search.

I completely agree, hiding it behind the "Clone" button is just bad design. That button implies there's an action behind it, which you do not want to perform, you just want the damn URL. Put it in the repo details, that's the logical place for it to be.

Like # people like this

I agree. that would be grand. +1. 

it's been painful looking for it. 

and no. I can't see "clone" either. 

Liam

In previous version of Bitbucket the URL was displayed on the repository page when "Overview" is selected under "Navigation".

Now you have to click Clone to copy the Url.

 

Who is the idiot UX designer that hides the SSH url in the Clone button.  Like several others, I found my way here via Google search.  

Sharpen up Atlassian. 

Like Hernán J. González likes this
0 votes

Found my way here via google search as well. Maybe reconsider this design choice. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,094 views 4 22
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you