Reputation: 201
SonarQube only provide a configuration to delete all closed issues. Is that a possible to delete a certain issue in sonar database?
And how to make sure the amount of the issues under Resolution in SonarQube UI under tab Issues will be changed after deleted? (I tried to delete some record in sonar table "issues", but the amount of the issues wasn't change)
Please help provide the sql to delete certain issue. Thanks!
Upvotes: 0
Views: 3056
Reputation: 7331
There's hardly any good reason for going and deleting things directly in the database (that would be asking for problems further down the road).
Issues can be resolved for good by marking either as False Positive
or Won't Fix
. See documentation Reviewing Issues and Issue Lifecycle.
Upvotes: 1