Can't get the Sonarqube/quality gate status in branch policies for azure devops

I wanted to block the Pr from merging when the quality gates fail in sonar analysis. But i could not get the “Sonarqube/quality gate” status in the dropdown


I see the quality gate status in extensions section of the pipeline run. i’m using the sonarqube developer edition v8.2.
The pull request decoration is also enabled.

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.2 → 8.9.8 → 9.4 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your issue persists after upgrade, please come back to us.

I have the same issue. We managed to configure SonarQube (version 9.7.1. Developer Edition) to analyze our branches, but PR cannot. There is no branch policy to select. Any help here?

@milanm08 You will need to make sure that Pull Request Analysis / Decoration has happened successfully for the repository at least once before the status policy becomes available. Is that the case?

How to check that?