# Repository URL on sonar project

**URL:** <https://community.sonarsource.com/t/repository-url-on-sonar-project/32437>\
**Category:** SonarQube Server / Community Build\
**Created:** [October 6, 2020, 9:10am UTC](https://community.sonarsource.com/t/repository-url-on-sonar-project/32437 "2020-10-06T09:10:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomki991](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tomki991/32/15742_2.png) [@tomki991](https://community.sonarsource.com/u/tomki991)\
**Post date:** [October 6, 2020, 9:10am UTC](https://community.sonarsource.com/t/repository-url-on-sonar-project/32437/1 "2020-10-06T09:10:28Z")

</div>

Is there any way to find out exactly repository URL on sonar’s UI? The projectname and/or projectkey doesn’t needs to be identical as repository name (and in my case they arent). I see the “Code” tab but I’d like to trace the exact repoisoty URL. In my case it would be BitBucket cloud or BitBucket server.

Thanks,

---

<div class="post-metadata">

**Author:** ![tomki991](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tomki991/32/15742_2.png) [@tomki991](https://community.sonarsource.com/u/tomki991)\
**Post date:** [October 6, 2020, 9:15am UTC](https://community.sonarsource.com/t/repository-url-on-sonar-project/32437/2 "2020-10-06T09:15:34Z")

</div>

I found the right place for it on the project in Administration / Links. But only in SQ 6.7.7 from which we’re moving to the LTS version and there is no such option/place.  
The question is how to setup sonar analysis to fill the links field automatically?  
Alternatively any other suggestions ?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [October 6, 2020, 6:22pm UTC](https://community.sonarsource.com/t/repository-url-on-sonar-project/32437/3 "2020-10-06T18:22:15Z")

</div>

Hi,

Welcome to the community!

I’m looking at our internal dogfooding instance, and the Links page is still there under Project Settings -\> Links.

And the [Analysis Parameters page](https://docs.sonarqube.org/latest/analysis/analysis-parameters/) lists a number of different links settings including the one I’m guessing is of interest to you: `sonar.links.scm`. To be honest, you’re one of the few people I can remember showing interest in these fields in the last… probably 10 years.

Would you mind satisfying my curiosity and expanding a little on your use case?

&nbsp;  
Thx!  
Ann

---

<div class="post-metadata">

**Author:** ![tomki99](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@tomki99](https://community.sonarsource.com/u/tomki99)\
**Post date:** [October 7, 2020, 11:47am UTC](https://community.sonarsource.com/t/repository-url-on-sonar-project/32437/4 "2020-10-07T11:47:24Z")

</div>

Hi,  
Indeed the `sonar.links.scm` does the job as I wish 🙂 thanks for the hint.  
What for do I need it? We don’t have any standard for `sonar.projectName` and `sonar.projectKey` so it’s hard to guess which repository analysis is the project referring to.

Thanks,  
tOMEK
