Sign in to Bitbucket Cloud with an API token

For bitbucket.org. Bitbucket Cloud has no browser sign-in in Repotray; the token form opens at once.

On this page

Steps

  1. 1
    In Repotray open Accounts, Add account, then Bitbucket.
  2. 2
    On Server address, type bitbucket.org. When the FOUND card appears, tap Continue.
  3. 3
    The sign-in screen shows the token form straight away, with the fields Token and Account email.
  4. 4
    Tap Open token page. It opens the Atlassian API tokens page, id.atlassian.com/manage-profile/security/api-tokens.
  5. 5
    Create an API token with the Bitbucket scopes listed below and copy it.
  6. 6
    In Repotray, paste it into Token (or tap Paste), type the email of your Atlassian account in Account email, and tap Check token.

Scopes

ScopeWhat it is used for
read:user:bitbucketYour profile
read:repository:bitbucketRepositories
read:workspace:bitbucketThe workspaces you belong to

After the check, the token is stored on the phone.

App passwords

Bitbucket app passwords are no longer accepted. Repotray refuses a secret that starts with ATBB before sending anything. An Atlassian API token starts with ATATT.

An account that still uses an old app password is listed on the Accounts screen as Needs an API token. Add the account again with an API token.