Is there a way to verify few checks before creating pull request on Bitbucket. For example, I am looking for a hook which verify if bamboo build is successful before creating new pull request on the branch. If build is failed then do not allow to create one.