Skip to content
Maua.Culturewire

Bitbucket

Repositories, pull requests and pipelines

Developer toolsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Your Atlassian account emailRequired
    • Atlassian API tokenSecretRequired

    Where to find them

    Bitbucket no longer supports app passwords: use an API token. Your avatar → “Account settings” → “Security” → “Create and manage API tokens” → “Create API token with scopes”; give it a name and an expiry date, choose the “Bitbucket” app and check read:user:bitbucket (used by the connection test), read:workspace:bitbucket, read:repository:bitbucket, read:pullrequest:bitbucket, read:pipeline:bitbucket and any write scopes you need. Copy the token (it is shown only once).

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with Bitbucket, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. In Bitbucket Cloud click your avatar, choose the workspace → “Settings” (gear icon) → “Workspace settings” → “OAuth consumers” → “Add consumer”.
    2. Name it “Maua.Culturewire”, paste the redirect URI shown below as “Callback URL” and leave “This is a private consumer” unchecked.
    3. Under “Permissions” check “Read” for Account, Workspace membership, Projects, Repositories, Pull requests, Pipelines and Issues (and “Write” for whatever you will modify).
    4. Click “Save”, open the consumer and copy the “Key” (Client ID) and the “Secret”.

    Default scopes

    No scopes required

Tools (1)

  • Bitbucket API requestBITBUCKET_SEND_REQUEST

    Authenticated call to the Bitbucket API (https://api.bitbucket.org/2.0). Any endpoint of the API is allowed. Examples: GET /user/workspaces, GET /repositories/{workspace}?pagelen=50&sort=-updated_on, GET /repositories/{workspace}/{repo}/pullrequests?state=OPEN, GET /repositories/{workspace}/{repo}/pipelines?sort=-created_on, GET /repositories/{workspace}/{repo}/commits/{branch}, GET /repositories/{workspace}/{repo}/src/{branch}/{path}, POST /repositories/{workspace}/{repo}/pullrequests.

    Required scopes

    No scopes required

    Input

    Bitbucket API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.