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

    Learn more

    for Bitbucket Server 4.0.0 - 4.10.1 and more versions
    Versions available for Bitbucket Server 2.3.0 - 3.11.6
    This add-on isn't formally supported, but you can ask a question via Atlassian Answers.

    Ask a question

    Simplenia supports this add-on.

    Get support

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

    Easily create and share code snippets in Bitbucket Server

    Easily create and share code snippets in Bitbucket Server

    Store code snippets directly in Bitbucket Server

    Share your code snippets with other users

    Create a collection of your favorite snippets

    Store your code snippets in Bitbucket Server to have them always handy. Choose whether your snippet should be public - visible to all logged in users - or private - only visible to users you give the url.

    Share the url of your code snippet with other users to let them view or download the code directly.

    Star public snippets of other users to add them to your own starred snippets collection.

    More details

    The Snippets plugin provides a simple way to create and share code snippets in Bitbucket Server. The plugin allows you to create code snippets and optionally make them available to other users. You can also discover snippets created by other users and add them to your starred snippets collection.

    Feature Highlights

    • Store your code snippets in Bitbucket Server
    • Share your code snippets with other users
    • Discover snippets created by other users
    • Star snippets to add them to your own starred snippets collection
    • Simply embed snippets on any website or in Confluence by using our free Snippets for Confluence add-on

    → Learn more about the Snippets plugin

    User reviews

    Sign in to write a review »
    by Aron Budinszky on 2016-04-18
    Really nice plugin and super-responsive support! With the recent addition of snippet embeds it now is a complete Bitbucket Server based replacement of Github Gists for us.
    Was this review helpful?YesNo
    by Mihai Marinescu on 2016-02-18
    I just installed this and it looks cool, I hope that you are going to implement revisions of snippets just like gist.github.com, that would be VERY cool.
    Was this review helpful?YesNo
    by Balaji Dutt on 2015-08-01
    Works nicely as a snippet repository, allowing me to finally get rid of an awkward dropbox-based sync process I was using for a desktop snippets client. One request though - please provide a setting that allows us to make the snippets world-readable, so that the snippets can be browsed without logging in.
    Was this review helpful?YesNo


    Thanks for your feedback! This should already be possible today though. When creating a new snippet, there are currently two options/checkboxes you can enable/disable:

  • "Visible to all Stash users in browse section" => this allows you to define whether you want the snippet to be browseable by other Stash users in the browse section or whether you want to keep it private/not visible in the browse section.
  • "Accessible for external users you give the URL" => this allows you to define whether you want the snippet to be accessible by external/anonymous users you share the url with.

    So if you enable the checkbox "Accessible for external users you give the URL", every user you share the url with will be able to access the snippet, no matter if they are logged in or not.

    Hope this helps. Please let us know if this is not working for you.

  • by test test on 2015-01-13
    The plugin does not work with Stash 3.6.0 Please fix this soon. This is great plugin btw :)
    Was this review helpful?YesNo


    Thanks for your feedback! Please update the Snippets plugin to version 1.8.1 for compatibility with Stash 3.6.0.
    by Maciej Barczak on 2014-09-24
    Guys, I generally like your plugin very much, but am I missing something, or the SEARCH feature is not present? (I mean search by content of snippets ). The need for search is so straightforward in such tool, that I'm amazed that I'm not finding it here. Any chances of adding it in any foreseeable future? Greetings!
    1 out of 1 found this review helpful
    Was this review helpful?YesNo


    Thanks for your feedback! Searching for snippets has been on our internal roadmap almost since day one. Sadly, Stash currently doesn't provide any way to index content for search yet. That's the main reason why it has not been implemented yet. We would have to offer just some basic database search (without any scoring of results), and that's not really what we want to do. We know from Atlassian that there will be some way to index content in Stash someday, but sadly, probably not in the next few weeks.


    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


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

    Simplenia AG supports Snippets for Bitbucket Server. You can visit the support site to get help.

    Get support


    Version 3.1.3 Bitbucket Server 4.0.0 - 4.10.1 Released 2016-10-17


    Minor bug fixes


    • Fixed wrong link of snippets profile tab when username contains special characters.
    • Minor bug fixes


    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 Snippets for Bitbucket Server 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 Snippets for Bitbucket Server. You're prompted to log into MyAtlassian. Snippets for Bitbucket Server 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 Snippets for Bitbucket Server versions compatible with your instance, you can look through our version history page.

    Similar add-ons