From 674c634485d808fcd4b691d76ec0101cd3ad7b8d Mon Sep 17 00:00:00 2001 From: Kartik Balasubramanian <22399046+HumanistSerif@users.noreply.github.com> Date: Wed, 19 Nov 2025 21:49:53 +0000 Subject: [PATCH] Doc 1674 docs for community issue bitbucket node credentials update (#3897) --- .../builtin/credentials/bitbucket.md | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/docs/integrations/builtin/credentials/bitbucket.md b/docs/integrations/builtin/credentials/bitbucket.md index bba0d2eb1..d70f3adf5 100644 --- a/docs/integrations/builtin/credentials/bitbucket.md +++ b/docs/integrations/builtin/credentials/bitbucket.md @@ -16,22 +16,29 @@ Create a [Bitbucket](https://www.bitbucket.com/) account. ## Supported authentication methods -- API username and app password +- Access token ## Related resources Refer to [Bitbucket's API documentation](https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication) for more information about the service. -## Using API username/app password +## Configuring Bitbucket access token -To configure this credential, you'll need: +1. Log in to Bitbucket and open your account or personal settings. +2. Find the section for API tokens or security settings. +3. Create a new API token, giving it a name and expiry date that matches your use case. +4. Select Bitbucket as the app, then choose the required scopes (permissions): -- A **Username**: Visible in your Bitbucket profile settings **Personal settings > Account settings**. -- An **App Password**: Refer to the Bitbucket instructions to [Create an app password](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/). + ```bash + read:user:bitbucket + read:workspace:bitbucket + read:repository:bitbucket + read:webhook:bitbucket + write:webhook:bitbucket + delete:webhook:bitbucket + ``` -## App password permissions +5. Review and create the token. Copy the generated token and add it to n8n. Bitbucket only shows the token once. -Bitbucket API credentials will only work if the user account you generated the app password for has the appropriate privilege scopes for the selected app password permissions. The n8n credentials dialog will throw an error if the user account lacks the appropriate permissions for the selected scope, like `Your credentials lack one or more required privilege scopes`. - -See the [Bitbucket App password permissions documentation](https://support.atlassian.com/bitbucket-cloud/docs/app-password-permissions/) for more information on working with these permissions. +For detailed instructions, see [Create an API token](https://support.atlassian.com/bitbucket-cloud/docs/create-an-api-token/).