How to create a condition or rule to refuse the Pull request in bitbucket with less code coverage for new lines of code

How to create a condition or rule to refuse the Pull request in bitbucket with less code coverage for new lines of code

Hey there.

If your Quality Gate is configured with this condition, all you need to do is follow one of these two guides (depending on the flavor of Bitbucket)

https://community.sonarsource.com/t/how-to-block-your-pr-merge-in-sonarcloud-or-sonarqube-with-bitbucket-cloud/21195/2

https://community.sonarsource.com/t/how-to-block-your-pr-merge-in-sonarqube-with-bitbucket-server/18559/5