PR decoration support was available in the community edition of Sonarqube v6.x. However, since v7.x PR support is now tied to a branch analysis feature that is only available in the developer edition.
I don’t need to view long-lived branches and filter issues by branch in Sonarqube, so as far as I can tell I do not need branch analysis. In fact very rarely do I want to go into Sonarqube at all. What I’d like to do is get PR decoration from Sonarqube to highlight new issues before they’re merged. Based on other discussions I’ve read, this desire is not unique to my team.
The 6.x functionality was supported using the “preview” analysis mode which is now deprecated. The VSTS plugin can no longer run a PR analysis in preview mode because it automatically sets the branch name and triggers the paid branch analysis feature.
PR decoration is a primary use-case for Sonarqube as PRs are used everywhere and are the primary tool for code review. My suggestion therefore is to restore the 6.x PR decoration functionality / preview mode analysis as part of the community edition.