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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

244 views 0 12
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