T
Teamwork Graph CLI
Details
- Command
-
twg - Docs
- https://developer.atlassian.com/cloud/twg-cli/
Authentication
TWG CLI local OAuth 2.1 session oauth2 discovered
$ twg login Acquired by the CLI — running twg login opens the auth flow and stores the credential.
TWG CLI local OAuth 2.1 session
$ twg login + Bitbucket token for Bitbucket API and TWG CLI Bitbucket commands discovered Bitbucket token for Bitbucket API and TWG CLI Bitbucket commands api_key
$ twg setup bitbucket Acquired by the CLI — running twg setup bitbucket opens the auth flow and stores the credential.
Atlassian Admin API key for TWG CLI admin auth api_key discovered
$ twg admin auth login --email <your-email> --org <your-org-id> For TWG CLI admin commands, run twg admin auth login --email <your-email> --org <your-org-id>. The docs state site/org admin auth uses an Atlassian Admin API key limited to your organization and stores it separately from normal user auth.