Skip to:

SSH Support for Pull Request

by AvR
works with Bitbucket Server 5.0.0 - 5.16.11 and more

OVERALL RATINGS

We no longer offer sales and support for server apps. You can stay connected by exploring the migration options to either the cloud or Data Center version of this app.

Explore migration program

Key highlights of the appCreate, comment and decline a pull-request via ssh command

Create 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://...

Comment on a pull-request

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

Decline a 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.)

Resources

Privacy and Security

Privacy policy

  • Atlassian's privacy policy is not applicable to the use of this app. Please refer to the privacy policy provided by this app's partner.

    Partner privacy policy

Security program

  • This app is not part of the Marketplace Bug Bounty program.

Version information

We no longer offer sales and support for server apps. You can still explore the earlier versions but these may not offer the necessary support.

Explore all server versions

Learn and explore

  • What’s Marketplace
  • App installation
  • About Atlassian
  • Atlassian resources
  • Search and ranking
  • Atlassian events
  • Atlassian foundation

Follow