Sonar Cloud Widget on Atlassian Bitbucket Cloud Pull Request shows Green Albeit Code Quality is in Error

Yes, it the standard behavior. Currently the Quality Gate on PR is hard-coded to “no open issue”.
So the only thing that makes the PR status green or red is whether or not you have open issues.

We know it’s not an optimal solution, and we plan to provide custom quality gate on PR. It’s on our radar for this year (probably first half).
You can find more details about the feature here MMF-1369.

1 Like