Must-share information (formatted with Markdown):
- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) --v2026.1 (119033)
- what are you trying to achieve --Sonar scan runs in every PR and quality gate fails for blocker , critical issues
- what have you tried so far to achieve this --Sonar rules severties are adapted as per our standards to enforce quality gate failure to block merging
We have enforced Sonar scan in PR and we blocks pipeline if quality gate fails for any security vulnerability or blocker , critical , major issues. But while testing what we have noticed that if any issue is reported as blocker , we can change the severity of issue in Sonar " Issues" view which will then impact the quality gate status . For example if quality gate has failed with blocker issues , you can adapt severity of issues to minor which will turn quality gate to green and can merge PR . Do note the rule severity will remain intact only the issue severity can be adapted for that PR. Is this expected behavior of Sonar ? If yes then what is the purpose of allowing the user to change severties of issues instead they should resolve the issue and mark as Fix or Accept ? Please help on this as it is becoming a big concern.
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!