PR Status and Comments/issue Decoration not working

Template for a good new topic, formatted with Markdown:

  • ALM used (GitHub, Bitbucket Cloud, Azure DevOps)
    Azure DevOps

  • CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI
    Azure DevOps

  • Scanner command used when applicable (private details masked)
    Azure Devops Extension Tasks

  • Languages of the repository
    C# .net 8 / javascript

  • Only if the SonarCloud project is public, the URL

    • And if you need help with pull request decoration, then the URL to the PR too
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
    PR requests are getting analysed by SonarCloud, however no PR decoration information is being post back to Azure DevOps.

  • Steps to reproduce
    1 Create a PR on a given repo
    2 PR policy kicks in
    3 Analysis complete and see an error on SonarCloud site but not reflect in PR

  • Potential workaround

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!


Welcome to the community!

How did you create the project in SonarCloud? Did you use the import wizard in the UI, or did you just start analyzing and create the project that way?


Created in Sonar Cloud - Manually


Because you created the project manually, the integration isn’t in place with your DevOps platform to automatically decorate PRs.

To what degree is your ADO organization connected with SonarCloud?


Dont understand the question.

But we are using the extensions for the PR pipeline and all mentioned in the attached link/doc has been done.

only difference is we have created a new project after the tasks on pipeline /service connection and sonar cloud (setup)

Created the project manually and added updated product key on the project and some access permissions. Do we need to reset the PAT key again after creating a new project again or should the org level setting apply to all old and new projects



If you haven’t gotten very far with this project, the easiest thing to do is delete it from SonarCloud and import it from ADO. That will put all the hooks in place for PR decoration.