I have created a Bitbucket plugin that performs a merge check.
It makes an http request to check if Jira sprint related to pull request is active. It would be nice to