Customers have installed this app in at least 176 active instances.
    by AvRfor Bitbucket Server 5.0.0 - 5.3.0 and more versions
    Versions available for Bitbucket Server 2.5.0 - 4.14.9
    AvR supports this app.

    Get support

    Data Center
    This app is compatible with the clustering and high-availability capabilities of our products.
    Get it nowFree app

    Create, comment and decline a pull-request via ssh command

    Create, comment and decline a pull-request via ssh command

    Create a pull-request

    Comment on a pull-request

    Decline a pull-request

    $ cat pr.json | ssh git@host.url -p7999 pull-request

    Received the following pull request:

    Title: a

    From: (TOOL/a) refs/heads/other

    To: (TOOL/a) refs/heads/master

    Successfully created the pull-request

    URL: http://...

    $ cat comment.json

    { text : "some text"}

    $ cat comment.json | ssh git@host.url -p7999 comment pull-request TOOL asdf 1

    Successfully commented the pull-request.

    $ ssh git@host.url -p7999 decline pull-request TOOL asdf 1

    Successfully declined the pull-request.

    More details

    This plugin is especially useful for scripts. It allows an authentication via the ssh-key instead of having to use the username-password authentication.

    It supports the following actions for pull-requests:

    • creation
    • commenting
    • declining

    (Approving pull-requests can be done by pushing a local merge.)

    User reviews

    Sign in to write a review
    by Paul Schütte on 2014-05-19
    Very helpful for automated integration with different workflows.
    Was this review helpful?YesNo


    AvR provides support for this app.

    Vendor support resources


    Find out how this app works.

    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 5.0.0 Bitbucket Server 5.0.0 - 5.3.0 Released 2017-05-31


    Upgrade to Bitbucket 5.0


    Upgrade to work with Bitbucket 5.0

    • Changing from the now removed Comment-API to the newly introduced one.


    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 SSH Support for Pull Request 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 SSH Support for Pull Request versions compatible with your instance, you can look through our version history page.

    Similar apps