Customers have installed this add-on in at least 401 active instances.
    by Mibex Software GmbHAtlassian Verified
    Mibex Software GmbH 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 3.2.0 - 3.11.6
    This add-on isn't formally supported, but you can ask a question via Atlassian Answers.

    Ask a question

    Mibex Software GmbH supports this add-on.

    Get support

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

    Integrates SonarQube by showing metrics, test coverage and code issues in pull requests

    Integrates SonarQube by showing metrics, test coverage and code issues in pull requests

    Shows Sonar code issues in pull requests

    Visualizes code coverage and duplicate code lines

    Pull request statistics and quality merge checks

    Shows issues found by Sonar directly in the pull request diff view. Provides a context menu which allows you to see issue details in Sonar, to mark an issue as a false positive or to create a comment or task for it.

    Shows code coverage directly in your pull request diff view. Also marks duplicated code lines and offers links to directly go to the affected code lines in Bitbucket Server.

    Shows Sonar statistics in the pull request overview and provides merge checks based on SonarQube's quality gates and other quality metrics like technical debt, code coverage, issues based on severity and duplicated code.

    More details

    This add-on integrates SonarQube's useful metrics and defect hunting tools into Bitbucket Server's pull requests. Detected code violations, uncovered and duplicate code lines are directly shown in Bitbucket Server's diff view. By only showing them on changed lines of the pull request, the code review peers can focus on the code that should be integrated into the target branch.

    For every found Sonar issue, a Bitbucket Server task can be created by just one click so that fixing it is not forgotten. Sonar metrics like technical debt are shown on the pull request overview. To ensure a good quality of new code changes, this add-on provides merge checks to disallow code being merged in if it doesn't meet the configured quality requirements.

    This add-on requires a build that generates different Sonar projects for the pull request branches. Our free add-on Sonar for Bamboo is able to do this automatically. For Jenkins and Teamcity, we describe the setup in detail on our wiki page.

    User reviews

    Sign in to write a review »
    by Joseph Belbin on 2016-04-15
    Great plug-in, good support from the developer. I would recommend it to anyone who wants to get more productivity out of their code reviews.
    Was this review helpful?YesNo
    by Jorge Costa on 2016-01-20
    Ive wrote a blog post about the plugin. Thanks for the good support and nice features. http://vssonarextension.blogspot.fi/2016/01/feature-branch-flow-and-continuous.html
    1 out of 1 found this review helpful
    Was this review helpful?YesNo
    by David Tanner on 2016-01-16
    Great plugin. Previously, we were using relying on developers manually going to view the sonar profile during code reviews. Having issues show up inline with our reviews saves tons of time and has helped make our code better.
    1 out of 1 found this review helpful
    Was this review helpful?YesNo
    by David Harper on 2015-11-12
    Fantastic plugin for bringing in code quality to your Pull Requests. Has helped our teams standardise their code and improve design no end. Author is very helpful for support too.
    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


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

    Mibex Software GmbH supports Sonar for Bitbucket Server. You can visit the support site to get help.

    Get support


    Version 1.10.3 Bitbucket Server 4.0.0 - 4.10.1 Released 2016-10-12


    Bug fix release for Gradle projects and forked workflow


    Bug fixes:

    * Plug-in throws error with Gradle projects when using forked repositories

    * Plug-in shows unnecessary error messages for declined and merged pull requests when a branch got deleted


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

    Similar add-ons