Skip to content

API Token authentication method can't access workspaces #61

@headphonejack

Description

@headphonejack

Hello, using the API token method I get:

Error: Workspaces not found. Verify the ID is correct and that you have access to this workspaces.

configs.json is configured as follows:

  "bitbucket": {
    "environments": {
      "ATLASSIAN_SITE_NAME": "<my site name that appears in url as [my-site-name].atlassian.net>",
      "ATLASSIAN_USER_EMAIL": "<email address of my bitbucket account>",
      "ATLASSIAN_API_TOKEN": "<API token generated with all bitbucket scopes>",
      "BITBUCKET_DEFAULT_WORKSPACE": "<my only bitbucket workspace ID> "
    }
  }
}

My user definitely has access to the workspace and the token definitely has all bitbucket scopes. Am I missing something?

The readme says App Passswords are recommended, but they are deprecated in Atlassian now:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions