Retaining of the issue status between branches from master

We are using SonarQube Community Edition Version 8.9.9 (build 56886) and having trouble in retaining the status when an issue is marked as False positive/Won’t fix it.

This is the scenario - After performing Sonar scan on a branch, few reported issues were marked as False Positive and then this particular branch is merged to master. After that a new branch is created from master and sonar scan is performed on the new branch, all the issues marked as false positive/won’t fix are still coming in the report. We have to manually mark them again. Is there any way we can retain the status of the issue to avoid multiple iterations of verification. Can you suggest any solution in this regard.

Hi,

Welcome to the community!

And were the merged issues marked False Positive in your main branch? Because, per the docs, that happens for PRs. But not branches.

Is there a reason you analyze the underlying branches instead of the PRs? That would eliminate the problem.

 
Ann

Thank you for the response, Can you please confirm if this feature works on the PRs in both Community Edition and Developer Edition.

Hi,

Community Edition doesn’t support PR analysis, so no.

 
Ann