> For the complete documentation index, see [llms.txt](https://helpcenter.xopero.com/xopero-one-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.xopero.com/xopero-one-en/backup-and-recovery/devops/bitbucket/integration/required-permissions.md).

# Required permissions

## Account <a href="#account" id="account"></a>

When logging into your **Bitbucket** account, the app requests the following permissions:

* [x] **Account Information** (read and modify your personal account details).
* [x] **Administer Repositories** (full administrative control over your repositories).
* [x] **Authorize workspace** (grants access to your workspace for authentication).
* [x] **Delete Repositories** (permanently delete repositories).
* [x] **Issues** (read and update issues in your repositories).
* [x] **Manage runners** (access and edit your workspace/repository runners).
* [x] **Pipelines** (access build pipelines and configure their variables).
* [x] **Project Settings** (read and update workspace project settings, including repository transfers).
* [x] **Repositories & Pull Requests** (read, update, and manage repositories and pull requests).
* [x] **Snippets** (read and modify code snippets).
* [x] **Team Membership** (read and update team membership details).
* [x] **Webhooks** (read and update repository webhooks).
* [x] **Wikis** (read and update repository wikis).

***

## Token and password <a href="#tokenpassword" id="tokenpassword"></a>

The following permissions are the minimum required to register the **Xopero ONE** application in your **Bitbucket** account and access your repositories:

* [x] **Account** — <mark style="color:$success;">**read**</mark>
* [x] **Repositories** — <mark style="color:$success;">**read**</mark> and <mark style="color:$success;">**admin**</mark>

You can generate an app password by navigating to the **App passwords** tab in your **Bitbucket** account settings.

{% hint style="danger" %}
With minimal privileges, some metadata (e.g., issues) may not be included in the backup. Select the necessary permissions based on the data you need to protect— keep in mind that if you grant only **read** permissions, backups will work, but restoring data will require generating a new token or password with **write** permissions.
{% endhint %}

***

## Application password

Application passwords can be configured with specific permission levels. The following list details the permissions required to back up repository metadata within your organization:

* [x] **Account** — <mark style="color:$success;">**read**</mark> permission required to assign an organization to **Xopero ONE**.
* [x] **Issues** — <mark style="color:$success;">**read**</mark> permission required to back up issues inside the repository.
* [x] **Pipelines** — <mark style="color:$success;">**read**</mark> permission required to back up pipelines, pipeline schedules, known hosts, and pipeline settings.
* [x] **Projects** — <mark style="color:$success;">**read**</mark> permission required to record which project a repository belongs to.
* [x] **Pull Requests** — <mark style="color:$success;">**read**</mark> permission required to back up pull requests inside the repository.
* [x] **Repositories** — <mark style="color:$success;">**read**</mark> and <mark style="color:$success;">**admin**</mark> permissions required to access repositories and perform backups.
* [x] **Wikis** — <mark style="color:$success;">**read**</mark> permission required to back up repository wikis.

{% hint style="danger" %}
Granting only read permissions allows backups to be performed; however, restoring data will require generating a new application password with write permissions.
{% endhint %}

***

## Useful links and items

{% embed url="<https://support.atlassian.com/bitbucket-cloud/docs/api-tokens>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://helpcenter.xopero.com/xopero-one-en/backup-and-recovery/devops/bitbucket/integration/required-permissions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
