Skip to content

Commit 2cdfd32

Browse files
authored
docs(bitbucket): document the possibility to connect Bitbucket with the access token (#789)
1 parent e1e0fbb commit 2cdfd32

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

src/content/docs/crowdin/integrations/bitbucket.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ All translated and approved files (or target file bundles) are automatically mer
4747
4. Then authorize the connection with Crowdin on the Bitbucket side: <Image src={authorization} alt="Authorization" class="width-lg" />
4848
</Steps>
4949

50+
In case the repository you need is private, and you have limited or no access to it, please ask the repository owner to provide you with an [Access Token](https://support.atlassian.com/bitbucket-cloud/docs/repository-access-tokens/). The necessary scopes are the following: `pullrequest:write`, `repository:write`, `webhook`. Afterward, in the **Use personal access token (optional)** section, insert your workspace name into the *Workspace* field, the token into the *Token* field, and click **Set Up Integration**.
51+
52+
<Aside title="Permissions">
53+
When setting up an integration with an access token, ensure that you have the admin level permission to the necessary repo.
54+
</Aside>
55+
5056
### Selecting Repository
5157

5258
In the appeared dialog, select your repository and branches that should be translated.

src/content/docs/enterprise/integrations/bitbucket.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ All translated and approved files (or target file bundles) are automatically mer
4242
1. Open your project and select **Integrations** on the left sidebar.
4343
2. Click on **Bitbucket** in the Integrations list.
4444
3. Click **Set Up Integration** and select **Source and translation files mode** or **Target file bundles mode** from the drop-down list to integrate via your Bitbucket account. <Image src={setUpIntegrationDropdown} alt="Connecting Bitbucket" class="width-sm" />
45-
<Aside>In string-based projects, Bitbucket integration exclusively operates in the **Target file bundles mode**.</Aside>
45+
<Aside>In string-based projects, Bitbucket integration exclusively operates in the **Target file bundles mode**.</Aside>
4646
4. Then authorize the connection with Crowdin on the Bitbucket side: <Image src={authorization} alt="Authorization" class="width-lg" />
4747
</Steps>
4848

49+
In case the repository you need is private, and you have limited or no access to it, please ask the repository owner to provide you with an [Access Token](https://support.atlassian.com/bitbucket-cloud/docs/repository-access-tokens/). The necessary scopes are the following: `pullrequest:write`, `repository:write`, `webhook`. Afterward, in the **Use personal access token (optional)** section, insert your workspace name into the *Workspace* field, the token into the *Token* field, and click **Set Up Integration**.
50+
51+
<Aside title="Permissions">
52+
When setting up an integration with an access token, ensure that you have the admin level permission to the necessary repo.
53+
</Aside>
54+
4955
### Selecting Repository
5056

5157
In the appeared dialog, select your repository and branches that should be translated.

0 commit comments

Comments
 (0)