Customers have installed this app in at least 108 active instances.
    by Anna Tikhonovafor Bitbucket Server 5.0.0 - 5.3.0 and more versions
    Versions available for Bitbucket Server 4.0.0 - 4.14.9
    Anna Tikhonova supports this app.

    Get support

    Get it nowFree app

    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 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 app.

    Vendor support resources

    See existing Q&A in Atlassian CommunityAsk a question in the Atlassian Community

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


    Version 2.0.0 Bitbucket Server 5.0.0 - 5.3.0 Released 2017-06-08


    Release version 2.0.0


    Support Bitbucket Server 5.x


    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 app versions compatible with your Bitbucket instance.
    5. Click Install to download and install your app.
    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 apps