Skip to content

darrenmoura/budibase-datasource-bitbucket-cloud-pull-requests

Repository files navigation

Budibase Datasource - Bitbucket Cloud Pull Requests

Manage Bitbucket Cloud pull requests. Uses Bitbucket REST API V2.0, you can find the docs for it here.

Auth

Uses Basic Auth with an App Password. For more info on setting this up, check here. Make sure the App Password you use for this integration has the requisite Pull Request permissions.

Pagination, sorting and filtering

The Bitbucket REST API has a consistent API for filtering & sorting and for pagination on requests that return a list of values.

Trying it out

Bitbucket is free, so you can easily try out the queries in this datasource.

Create and Update operations

Below is the minimum required config to create a new PR (POST/PUT request body):

{
	"title": "I am a Budibase PR",
	"source": {
		"branch": {
			"name": "budibase-pr"
		}
	}
}