Resolved Issues are still shown

  • versions used (SonarQube 7.6, Scanner 4.2)
  • error observed (wrap logs/code around triple quote ``` for proper formatting)
There are many issues that were reported in past, and are now resolved .
But the issues are still shown on top of the files. Why? and how can we get rid of them?


This is going to be a question of the filters you chose on the page just prior to this one. These issues are hidden by default, but are available if you adjust the Statuses and/or Resolutions you want to see. They’re all shown at the top of the file because when an issue is closed the associated line number is removed from it. Why? Because it’s quite possible the fix (or other changes) have shifted the relevant line in the file, and showing the closed issue at its old location would be very, very confusing. (Trust me, I’ve experienced this.)