Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Neil
Contributor
November 20, 2014

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

1 vote
Steven Whitman
Contributor
November 21, 2014

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.

0 votes
Neil
Contributor
November 21, 2014

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

0 votes
Balázs Szakmáry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2014

+1, This seems more annoying than useful.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events