We have integrated our PRs with Team City. So MERGE button is disabled till the build corresponding to PR is not successfully built.
BUT we have one more requirement. We have a Separate Project on TeamCity. If that project is failing, we want all the active PR's MERGE button to be disabled.
Is there a way to do so ?