Hi,
In Bitbucket Scriptrunner, I have a Pull Request enforcement policy setup that scans PRs and the associated commits for the existence of bug ids (not for Jira). The policy works fine until it runs into a merge conflict from the auto merge process. Is there a way to detect that the auto merge has found the conflict and to then let it pass through the script so that the resulting Pull Request can be created? When the conflict occurs, the script fails, displaying the error message from event.cancel.
Thanks,
Jim Murphy