Hello, I am creating a merge check that will block the merge button in case there is a ongoing build on master.
I am trying to do this in script runner but since its running in Groovy sandbox I can't perform http request to the bitbucket rest API and fetch the status.
How can I achieve this??