Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
4.3.10
-
None
-
None
-
Sprint 27 - Ends Nov 18
-
0
Description
To reproduce:
- Setup "naming standard enforcement" event handler for branch and tag names under repository settings
- Use the example provided under "expand examples" as the regex
- Create a branch from the UI and use the name "feature/block"
- Branch creation should be blocked by the listener but it is not
This is because we do not handle the TagCreationRequestedEvent or BranchCreationRequestedEvent in com.onresolve.scriptrunner.bitbucket.InnerListener#receiveEvent