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

    • 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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: