Want to remove all existing issues after migration

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SQ 9.0, sonar-scanner-, PostgreSQL ver 12
  • what are you trying to achieve
    We have migrated off of TFS foe CI/CD, and we want to remove all existing issues so we have a clean system for the new Jenkins pipeline
  • what have you tried so far to achieve this
    A relatively clean way to wipe out old data so we can start over, we have thought about just starting a new DB since we want to move to postgreSQL 13 and sonarqube 9.4 anyways


Starting with a fresh DB is certainly an option. However, it’s not going to accomplish what you think. First analysis against that fresh DB is going to raise all the old issues. So what you’ll lose by throwing away your database, is the history of the issues you’ve marked False Postive / Won’t Fix and added comments on.

You’ll also lose your custom Quality Profiles and Quality Gates.

If you were further behind than 9.0, I might advise starting over, but in your case, I really wouldn’t.