Customers have installed this add-on in at least 81 active instances.
    by Anna Tikhonovafor Bitbucket Server 4.0.0 - 4.14.4
    This add-on isn't formally supported, but you can ask a question via Atlassian Answers.

    Ask a question

    Anna Tikhonova supports this add-on.

    Get support

    Get it nowFree add-on

    Deny creating branches that do not conform to repository's branching model

    Deny creating branches that do not conform to repository's branching model

    Keep your codebase clean and well-organised

    Restrict creating out-of-scope branches via UI

    Decline pushes that create out-of-scope branches

    Use the branching model of your repository for organising branches by their objective. Keep your codebase clean -- do not allow creating branches out of the branching model scope

    The add-on blocks creating out-of-scope branches via UI and REST. A pop-up notification is rendered, listing the allowed locations.

    The add-on also blocks git pushes that create out-of-scope branches. An error is send to the user, listing the allowed branch prefixes.

    More details

    Protects your official code base from trash.

    How to use:

    • Configure repository's branching model

    Repository Settings (the cog) -> Workflow (Branching Model) -> Enable

    • Enable repository's hook

    Repository Settings (the cog) -> Workflow (Hooks) -> Restrict Development to Branch Model -> Enable

    User reviews

    Sign in to write a review
    by Elena Koryakina on 2016-07-12
    This plugin saves our lives everyday! Branch names become mess when you have more than 3 developers. So restricting branch model is a logical solution. It's a shame this is not part of Bitbucket itself.
    Was this review helpful?YesNo


    Anna Tikhonova provides support for this add-on.

    Vendor support resources

    Atlassian Community

    Atlassian-hosted discussions connect you to other customers who use this add-on.


    Version 1.0.1 Bitbucket Server 4.0.0 - 4.14.4 Released 2016-03-31


    Release version 1.0.1


    Fix permission denied when creating branches via UI/REST


    1. Log into your Bitbucket instance as an admin.
    2. Click the admin dropdown and choose Add-ons. The Manage add-ons screen loads.
    3. Click Find new add-ons from the left-hand side of the page.
    4. Locate Restrict Development to Branch Model via search. Results include add-on versions compatible with your Bitbucket instance.
    5. Click Install to download and install your add-on.
    6. You're all set! Click Close in the Installed and ready to go dialog.

    To find older Restrict Development to Branch Model versions compatible with your instance, you can look through our version history page.

    Similar add-ons