sonarqube issues shows closed items when unresolved resolution is selected

2k Views Asked by At

I have sonarqube 5.3 running and one of the projects is showing incorrect report. Other projects are fine.

On the dashboard of the problem project it shows there are 9 Blocker issues. Clicking on this takes me to the issues page where it shows total 21 issues. The list of issues includes items that has been marked as "Closed(fixed)", which are the extra items. In the issues page, I only have "Blocker" under the Severity and "Unresolved" under the Resolution field checked.

Can you please help to identify why this project's issues page is not showing issues properly based on the filters? Thanks,

1

There are 1 best solutions below

2
Julien L. - SonarSource Team On BEST ANSWER

It seems that there are some inconsistencies between the issues table and the issues index in elastic search.

The only way to fix it is to :

  1. Stop SonarQube
  2. Delete /data/es folder
  3. Start SonarQube