# Bitbucket Integration

**URL:** <https://community.sonarsource.com/t/bitbucket-integration/48441>\
**Category:** SonarQube Server / Community Build\
**Tags:** bitbucket\
**Created:** [August 20, 2021, 11:55am UTC](https://community.sonarsource.com/t/bitbucket-integration/48441 "2021-08-20T11:55:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![binie](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/binie/32/12919_2.png) [@binie](https://community.sonarsource.com/u/binie)\
**Post date:** [August 20, 2021, 11:55am UTC](https://community.sonarsource.com/t/bitbucket-integration/48441/1 "2021-08-20T11:55:56Z")

</div>

Hi,

Apologies firstly if this has already been discussed.

My Sonarqube version is 8.9.0.43852 and Bitbucket server (7.9.1). I have done the integration and can see most projects. A few projects are missing and not sure why SQ can’t see these. We tried to create a new project in Bitbucket, and SQ still didn’t pick these up when adding new projects.

Have you guys seen this please and any pointers will be useful.

Thanks.

---

<div class="post-metadata">

**Author:** ![Philippe\_Perrin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/philippe_perrin/32/5369_2.png) [@Philippe\_Perrin](https://community.sonarsource.com/u/Philippe_Perrin)\
**Post date:** [August 20, 2021, 1:15pm UTC](https://community.sonarsource.com/t/bitbucket-integration/48441/2 "2021-08-20T13:15:45Z")

</div>

HI @binie,

As a first step, I suggest that you connect to Bitbucket Server with the user that was used to create the personal access token. Can you confirm that this user has permission to see the projects you’re referring to?

++

---

<div class="post-metadata">

**Author:** ![binie](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/binie/32/12919_2.png) [@binie](https://community.sonarsource.com/u/binie)\
**Post date:** [August 20, 2021, 2:24pm UTC](https://community.sonarsource.com/t/bitbucket-integration/48441/4 "2021-08-20T14:24:02Z")

</div>

Hi @Philippe_Perrin ; Yes the user account can see all these other projects.

---

<div class="post-metadata">

**Author:** ![Philippe\_Perrin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/philippe_perrin/32/5369_2.png) [@Philippe\_Perrin](https://community.sonarsource.com/u/Philippe_Perrin)\
**Post date:** [August 23, 2021, 2:55pm UTC](https://community.sonarsource.com/t/bitbucket-integration/48441/5 "2021-08-23T14:55:28Z")

</div>

How many projects do you see within SonarQube? How many do you expect?

---

<div class="post-metadata">

**Author:** ![binie](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/binie/32/12919_2.png) [@binie](https://community.sonarsource.com/u/binie)\
**Post date:** [August 23, 2021, 6:44pm UTC](https://community.sonarsource.com/t/bitbucket-integration/48441/6 "2021-08-23T18:44:51Z")

</div>

SQ sees 25; SQ account on bitbucket sees 41. In addition, I used the SQ account to create a new project and still could not see this as a project on SQ.

---

<div class="post-metadata">

**Author:** ![binie](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/binie/32/12919_2.png) [@binie](https://community.sonarsource.com/u/binie)\
**Post date:** [August 23, 2021, 10:17pm UTC](https://community.sonarsource.com/t/bitbucket-integration/48441/7 "2021-08-23T22:17:33Z")

</div>

Ok something funny is going on. I just realised I can see projects starting with alphabets a-q. It will not see anything after ‘q’. I renamed one of the projects I created to start with letter ‘i’ and I can now see this project.

---

<div class="post-metadata">

**Author:** ![Philippe\_Perrin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/philippe_perrin/32/5369_2.png) [@Philippe\_Perrin](https://community.sonarsource.com/u/Philippe_Perrin)\
**Post date:** [August 24, 2021, 8:01am UTC](https://community.sonarsource.com/t/bitbucket-integration/48441/8 "2021-08-24T08:01:56Z")

</div>

OK, I think I got this. It took me a while to remember that due to limitations in BBS, we only display 25 projects. To see more of them, you’ll have to use the search input to filter them.

Please let me know if that helps.

Cheers

---

<div class="post-metadata">

**Author:** ![binie](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/binie/32/12919_2.png) [@binie](https://community.sonarsource.com/u/binie)\
**Post date:** [August 24, 2021, 8:12am UTC](https://community.sonarsource.com/t/bitbucket-integration/48441/9 "2021-08-24T08:12:06Z")

</div>

Yes true. It does find the repos though and except if the search key brings in multiple repos; then it will highlight the project they fall under.
