Accept Issues on several branches at once

Hi,

we are using SonarQube 2025.1 Enterprise Server (upgrading to 2025.3 soon) and are currently going through some older Sonar issues (so far not covered by the Quality Gate) to either accept or fix them.
As we are maintaining 4 release branches (3 former releases and the master), some of these issues occur on several branches.

To accept them, we now have to manually accept and comment them on each branch separately, although they are basically the same issues.

Is there a better way to accept identical issues on multiple branches? They seem to have different IDs, so are not really the same issues from Sonar’s perspective, am I right?

Thanks!

Regards,
Carsten

Hi Carsten,

We don’t offer any functionality here. Your best option would be to script this. The docs on how analysis knows if an issue is “new” offer hints on this. E.G.:

  • same file
  • same rule
  • same line hash

 
HTH,
Ann

Thanks, we’ll have a look at it!