Hello,
I would like to disable the merge button of the pull request when the build of the target branch fails. What is the best way to doing that?
I'm using Jenkins and with jenkins I can get easily the last Build status (
jenkinsUrl + jobNameURL + "/lastBuild/api/json
)
Can I do this with bitbucket api ?