Issues are not being shown or only a selection of them

We are having an issue with our SonarQube CE instance.

In a lot of projects issues are not being displayed or only a selection of them are shown.


No issues are shown. Only the createdInLast filter (value is 1w) is used.


Only 5 of 25 issues are shown.

When using the API directly the issues search endpoint also returns no issues.
/api/issues/search returns the following:

{"total":30962,"p":1,"ps":100,"paging":{"pageIndex":1,"pageSize":100,"total":30962},"effortTotal":563307,"issues":[],"components":[],"facets":[]}

I’ve checked the logs for errors, but no errors are logged.

We’ve tried clearing the ElasticSearch indexes, but that didn’t help.

Any idea how to solve this issue?

We might have to delete the projects that are impacted and start over losing all history …

SonarQube version: 9.9.0.65466
How is SonarQube deployed: zip

Anything interesting in the logs?

No warnings or errors are being logged when I reproduce the issue.

That’s definitely bizarre.

Did you restart the SonarQube service after, and do you observe Project Data Reload tasks in your global Administration > Background tasks?

We’ve executed the steps that are listed on the Troubleshooting page (Failed tasks during reindexing).

non-DCE:

  1. Stop SonarQube
  2. Delete the data/es7 directory
  3. Restart SonarQube

I’ve checked the Background tasks page, filtered on Type=Project Data Reload, and all projects listed have the status success.

We are still experiencing this issue. Any ideas or possible solutions?

Hello, what the solution you found for this case because we experience the same et our side with sonarqube enterprise 8.9.6

Best regards

Apologies for the late reply, but the issue still exists on our side.
No issues or only a small selection of issues are displayed in the GUI.

SonarQube version: 9.9.3.79811