Details
-
Type:
Bug
-
Status: Done
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 4.3.10
-
Fix Version/s: 4.3.14
-
Labels:None
-
Sprint:Sprint 27 - Ends Nov 18
-
Critical Points: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