Branch analysis - Issue Creation and Synchronization

  • Versions:
    SonarQube: Developer Edition- Version 8.6 (build 39681)
    Scanner: sonar-scanner-4.6.2.2472-linux
    Extension: Codescan from AutoRabbit to scan salesforce codebase
  • what are you trying to achieve: We want to retain the resolution and status of issues when creating new branches. Here’s the details:
    After running sonar scan on our codebase, we resolved some of those issues manually as Fixed, or Won’t Fix or False Positive). When we created a new branch from the branch where we manually fixed the issues, sonar again flags all those issues which were manually resolved in the original branch. We have tried adding sonar.branch.name parameter when triggering scan and configured the original branch as Reference branch in New Code’s project settings but still not work. (Branch Analysis | SonarQube Docs)

Hi,

Welcome to the community!

First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.6 → 8.9.3 → 9.2.1 (last step optional)

You may find the Upgrade Guide helpful.

If your error persists after upgrade, please come back to us.

 
Ann

Thanks @ganncamp for your response, I will try upgrading the system and check the issue again.

Issue is resolved after upgrading to latest LTS version (8.9.6), thank you again @ganncamp

1 Like