Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-179

Branch and tag naming enforcement per repository listener does not fire correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 4.3.10
    • 4.3.14
    • 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

      Attachments

        Activity

          People

            amarkham Adam Markham
            amarkham Adam Markham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: