BitBucket for pull request doesn’t show the Code Quality badge

The issue has been solved by reinstalling the SonarCloud Bitbucket app in the respective workspace. You can reinstall the app by going to Bitbucket → Settings → Installed apps, remove the SonarCloud app and then add it again through the Marketplace.

Peter