How can I change the default clone URL provided by Stash?

This is a jump off from this question.

I want to change the URL in that drop down on each Repo page in Stash

Screen Shot 2014-11-20 at 5.17.38 PM.png

I want to remove the username@ portion because when a user uses the suggested clone URL as is, it creates a failed authentication event every time. The reason for this is because the username is included, (i.e. https://neil.peterson@stash...reponame.git) but not the password (obviously). This creates an AuthenticationFailureEvent every single time, for every... single... git operation. This makes it difficult to find REAL authentication failures (where a user is actually having password problems) but more importantly it really gunks up the logs. (I have about 10,000 of these events for the last 7 days)

Can I change that URL to not include the username?

3 answers

I requested this change as well (see https://jira.atlassian.com/browse/STASH-4527).  Doing a search I've seen other requests for the username to be removed.  Atlassian indicated that there were reasons to keep the URL but never provided an explanation of what those reasons might be.

+1, This seems more annoying than useful.

Thanks! I left a comment, for what its worth. I really hope we can get this reopened or find another resolution.

I wonder if this is exposed through the Java API....
https://developer.atlassian.com/static/javadoc/stash/3.4.3/api/reference/packages.html

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

433 views 6 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