I’ve run into this problem as well. By watching the network tab in my browser, I can confirm that the search api call works to bring back the repository I was searching for which is found in a project that is dramatically deeper in the list than 25. However, the UI only displays repos grouped by the projects already downloaded.
From the network it appears that the following occurs when the browser loads /projects/create?mode=bitbucket:
Call list_bitbucketserver_projects on bitbucket server which returns first 25 projects
Iterate over the list of projects returned calling search_bitbucketserver_repos for each proejct to show the repos within each
When I search for my repo in the search box, I can see the network call that returns all of the repos that match. However, the UI only displays the repos found in the first 25 projects retrieved in step 1 above when the screen first loaded. To me, it appears there are three options:
Change the code behavior to search for projects instead of repos and display all repos for a given project
Iterate the results of the search and retrieve the project name for each for grouping
Hi, I am using version Version 8.5 (build 37579) of SonarQube but still have this issue, I also tried Version 8.5.1 (build 38104). I can see in the network activity that only 25 projects are fetched and displayed.
Hi, fetching 25 projects is the expected behaviour. If you are looking for one that is not on the list, use the search directly (search for your repository). Does the project & repository show up that way? (Side note: the search is a start with)
This returns 4 results, but I can see only 2 results in UI which are part of one of the displayed 25 projects.
I think the issue is, if the returned results is contains a repository which is part of the 25 projects then only those are showed. If the returned results are not contained in the 25 projects, then it is displayed correctly.