Customized rules are missing

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - 9.9
  • how is SonarQube deployed: zip, Docker, Helm - zip
  • what are you trying to achieve - Customized rules migration
  • what have you tried so far to achieve this - update plugins
    Migrated from Ver 8.9 LTS to 9.9 LTS. But noticed that we have Rules missing for java . Previous ver(8.9) has 2.2K while new ver (9.9) has 2.1. Using checkstyle-sonar-plugin-10.5.jar , sonar-findbugs-plugin-4.2.2.jar

Please suggest how can i migrate the quality profiles and rules to new ver
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

I can see that there are 2.2K Rules for Java in 8.9 ver while 2.1K for 9.9 .i am using these plugins on V9.9

sonar-aemrules-plugin-1.6.jar
sonar-ansible-plugin-2.5.1.jar
sonar-typescript-plugin-2.1.0.4359.jar
sonar-shellcheck-plugin-2.5.0.jar
java-i18n-rules-0.1.0.jar
sonar-groovy-plugin-1.8.jar
sonar-pmd-plugin-3.4.0.jar
checkstyle-sonar-plugin-10.8.1.jar
sonar-findbugs-plugin-4.2.2.jar
sonar-yaml-plugin-1.7.0.jar
codehawk-1.6.jar

Hi,

You’ll need to identify what’s missing. (And whether this is just a question of a rounding difference…)

 
Ann

I checked then only i reached out to you

Hi,

Without knowing what rules are missing, there’s not much we can do to diagnose this.

Can you, perhaps, restore your DB backup to a test DB, point your 8.9 instance at it, and get rule counts per repository? Compare those numbers to the repository rule counts in 9.9 and we’ll have a starting place.

 
Ann