Customers have installed this add-on in at least 197 active instances.
    by AdaptavistAtlassian Verified
    Adaptavist is an Atlassian Verified vendor. Verified vendors demonstrate Atlassian standards for add-on quality, reliability, and support.

    Learn more

    for Bitbucket Server 4.1.0 - 4.9.1 and more versions
    Versions available for Bitbucket Server 3.7.0 - 4.0.6
    This add-on isn't formally supported, but you can ask a question via Atlassian Answers.

    Ask a question

    Adaptavist supports this add-on.

    Get support

    Data Center
    This add-on is compatible with the clustering and high-availability capabilities of our products.

    Enhance and Automate your Bitbucket Server/Stash Projects, Repositories and Git Workflows

    Enhance and Automate your Bitbucket Server/Stash Projects, Repositories and Git Workflows

    Auto add reviewers to your Pull Requests

    Mirror repos from GitHub and BitBucket to Stash

    Encourage best-practice development for your teams

    Ability to add groovy scripted conditions to some or all of your repositories and define a default set of approvers for PRs.

    Include default users/groups or even mandatory ones to help improve the quality of your merges.

    Mirror all commits and tags from GitHub and BitBucket Cloud with Bitbucket Server to help organisations with multiple git management tools.

    This would also help if you are looking to migrate from Cloud to Server.

    Block undesired developer push events like:

    Changes committed on behalf of someone else

    Pushes directly to your release or master branches

    Deletion of tags

    Feature changes without an associated JIRA issue (using JQL)

    More details

    • Extend Pull Request Approval functionality to overcome Unapproved merge requests
      • Ability to add groovy scripted conditions to some or all repositories and define a default set of Approvers (including mandatory users or groups)
    • Synchronise your GitHub and BitBucket Cloud repository activities (excluding Pull Requests) with Bitbucket Server
    • Take control of your releases and catch unwanted events before they are pushed to Bitbucket Server like:
      • Ability to stop developers pushing changes on behalf of someone else (or even a non-Bitbucket Server user)
      • Ability to stop change sets being pushed directly to your release or master branches
      • Ability to stop deletion of your release tags by mistake
      • Ability to ensure feature changes are associated with a JIRA issue through BOTH scripted conditions and extended JQL queries
      • Ability to block pushes to your release branches after it has been frozen

    User reviews

    Sign in to write a review »
    by Caleb Anderson on 2016-05-27
    We use this to manage defaults and merge checks that we had in our previous Source Code Management. The flexibility this provides for Bitbucket is simply amazing! Whenever I come across something that I can't figure out the code for, their support ticket system is great! I usually have a solution within hours -- unlike days or longer with other software companies.
    Was this review helpful?YesNo
    by Michael Anderson on 2016-04-25
    Great plugin, ran into some bugs but Mr. Echlin helped me out with all my issues and provided a fix within an hour. Impressive support, would recommend to anyone wanting the most out of their BitBucket instance.
    Was this review helpful?YesNo
    by Jeff Feldstein on 2015-08-07
    Awesome Plugin! Really helps managing my 150 stash-users and 50 repositories. Its the right balance of customization/programmability without having to write my own plugins. Also, the support is top notch.
    Was this review helpful?YesNo
    by Armin Mayrhofer on 2015-07-21
    We are already using Scriptrunner for JIRA and love it. Scriptrunner for Stash looks great. Out DevOps teams say Scriptrunner for Stash is 'easy to use' and fits exactly what they need to better manage our Git Repositories.
    Was this review helpful?YesNo


    Pricing details are loading…

    Paid-via-Atlassian pricing FAQ

    How does server add-on pricing work?

    Server products and add-ons are hosted on your servers. Licenses are perpetual and the purchase price include 12 months of maintenance (support and version updates).

    You can renew maintenance after 12 months at 50% of the current purchase price. You can upgrade the tier of your host product and add-on licenses at any time. Upgrade prices are calculated based on Atlassian's formula (view example).

    If add-on pricing changes after your initial purchase, there's a 60-day grandfathering period during which you can renew based on the old pricing.

    How do I determine my server pricing tier?

    The add-on tier should match the licensed user tier of the Atlassian host application. For example, if you have a Confluence Server license for 25 users, you should purchase the 25-user tier for add-ons. Even if fewer users want to use the add-on than your host application license, the two licenses should match exactly.

    Do you offer academic, community, or open-source licenses?

    For server add-ons, purchase and renewal is half-price if you have an academic license for your Atlassian host application. Server add-ons are always free for community and open-source licenses. Cloud add-ons do not have discounted or free licenses.

    For more details about qualifying for special licenses, see here.

    Can I extend my free trial?

    For server add-ons, you can extend your add-on trial up to 5 times - in other words, for up to six months. Extend your trial by generating a new evaluation license key from Atlassian Marketplace. Click Try it free and you'll be directed to generate a new license. Paste this license key into the add-on listing in UPM from your Atlassian host application, and you're all set.

    How can I buy add-ons for my legacy JIRA Server or Confluence Server license?

    If you own a legacy JIRA Server Unlimited (100+ users) or Confluence Server Unlimited (2000+ users) license purchased in 2012 or earlier, legacy add-on pricing is no longer available. You have two options for add-on purchasing:

    • Purchase the add-on at the non-legacy Unlimited (10000+ users) tier.
    • Renew your JIRA or Confluence license at a non-legacy tier, then purchase the add-on at the same tier.

    Learn more


    Adaptavist is Atlassian Verified. Verified add-on vendors demonstrate high quality, reliability, and business traction. Learn more

    Adaptavist supports ScriptRunner for Bitbucket Server/Stash. You can visit the support site to get help.

    Get support


    Version 4.3.7 Bitbucket Server 4.1.0 - 4.9.1 Released 2016-09-28


    Better script plugins, branch name event handler: http://bit.ly/2djWGL7


    See full release notes at



    1. Log into your Bitbucket instance as an admin.
    2. Click the admin dropdown and choose Atlassian Marketplace. The Manage add-ons screen loads.
    3. Click Find new add-ons from the left-hand side of the page.
    4. Locate ScriptRunner for Bitbucket Server/Stash via search. The appropriate add-on version appears in the search results.
    5. Click Try free to begin a new trial or Buy now to purchase a license for ScriptRunner for Bitbucket Server/Stash. You're prompted to log into MyAtlassian. ScriptRunner for Bitbucket Server/Stash begins to download.
    6. Enter your information and click Generate license when redirected to MyAtlassian.
    7. Click Apply license. If you're using an older version of UPM, you can copy and paste the license into your Bitbucket instance.

    To find older ScriptRunner for Bitbucket Server/Stash versions compatible with your instance, you can look through our version history page.

    Similar add-ons