SonarQube ADO Pull Request Decoration Sync

I’m currently running SonarQube Server Enterprise Edition, v2026.2.1. It is connected to Azure DevOps using the official Sonar Server Plugin v8.2.3. The server is deployed and operated by a consultancy we’re using, with various integrations to my companys internal toolchain.

My current task is to integrate SAST into our PR flow in ADO - as a build-validation step. This is mostly done, but I’ve been asked to investigate whether PR-decorations can be made interactive. Interactive, meaning that “resolved” comments in the PR would resolve the issues in sonarqube, and vice versa.

Does any such integration exist?

Hello @asgr-sydbank,

Welcome to the Community!

Thanks for the detailed info. The sync here only works in one direction. When you change an issue’s status in SonarQube (resolve it, mark it Won’t Fix, or False Positive), that
does get reflected on the corresponding PR comment in Azure DevOps automatically, as long as PR decoration is properly configured and bound for the project, see Issues reported in Azure DevOps and Azure DevOps integration setup. Fixing the code and re-running analysis works the same way, resolving the issue in SonarQube and clearing the ADO annotation.

The reverse isn’t supported, though. Resolving or closing a comment thread on the ADO side won’t change the issue’s status back in SonarQube. This isn’t a config issue on your end, there’s simply no listener on the SonarQube side for ADO thread-resolution events. SonarQube is meant to stay the source of truth for triage, so closing a thread in ADO will just
leave the issue open in SonarQube and it’ll likely show up again on the next analysis.

Does that answer your question?

Best regards,

Stevan

Hello Stevan

Thanks a lot for your thoughtful response - my own investigating revealed what you’re describing, but I wanted to confirm as there’s been higher expectations internally.

Thanks again,
Asger Nielsen