Bitbucket is a Git-based source code management solution designed for teams to collaborate on code, manage repositories, and streamline development workflows. The Bitbucket - Private Cloud connector works with your self-hosted Bitbucket Server and its REST APIs, so you can use your repositories, pull requests, projects and users in automations.
Authentication
Integrating your application with Bitbucket Server enables secure access to repositories, projects, users, and other resources through Bitbucket REST APIs. Before starting, ensure you have the following information:
Connection name: Choose a meaningful name for your connection. This name helps identify the connection within your application or integration settings, such as MyAppBitBucketIntegration.Bitbucket hostname: Enter the host and port (optional) of your Bitbucket server. For example, if the URL in the browser is http://host:port/context/rest/api-name/api-version, the hostname is http://host:port.Authentication type: Select the authentication method you want to use. Supported authentication types:
Access token
Basic
Access Token Based:
Log in to your Bitbucket Server.
Click your profile picture, then go to Manage account → HTTP access tokens.
Click Create token, choose the permissions you need, and create the token. Copy it and paste it into the Access token field of the connection form. Keep the token secure, as it grants access to your Bitbucket Server.


Basic Authentication:
Log in to your Bitbucket Server.
Use your Bitbucket username in the Username field.
Use your Bitbucket account password in the Password field.
Actions
Actions | Description |
| Adds a comment to a pull request in Bitbucket |
| Creates a pull request in a repository in Bitbucket |
| Deletes a pull request by ID in a repository in Bitbucket |
| Gets file content in a repository in Bitbucket |
| Gets a pull request by ID in a repository in Bitbucket |
| Gets a comment by ID in a pull request in Bitbucket |
| Gets raw content of a file in a repository in Bitbucket |
| Lists files in a repository in Bitbucket |
| Lists files in a path in Bitbucket |
| Lists users with a global permission in Bitbucket |
| Lists users with permission to a project in Bitbucket |
| Lists projects in Bitbucket |
| Lists pull requests in a repository in Bitbucket |
| Lists repositories in a project in Bitbucket |
| Lists users with permission to a repository in Bitbucket |
| Updates a pull request by ID in a repository in Bitbucket |
| Updates a comment by ID on a pull request in Bitbucket |