问题
Team - I like to enable one condition to restrict pull request in bitbucket.
Condition - The feature branch should always merge into develop and pre-prod branch before raise pull request to release. If condition fails then it shouldn't allow user to raise pull request.
We are new to bitbucket and groovy. Hence, like to know where and how can we achieve this task using script runner in bitbucket.
Appreciate any help. Thanks
来源:https://stackoverflow.com/questions/54788007/bitbucket-groovy-conditional-script