A
Atlassian CLI
Details
- Command
-
acli - Docs
- https://developer.atlassian.com/cloud/acli/guides/introduction/
Authentication
Atlassian personal API token api_key discovered
$ acli jira auth login --site "mysite.atlassian.net" --email "user@atlassian.com" --token Acquired by the CLI — running acli jira auth login --site "mysite.atlassian.net" --email "user@atlassian.com" --token opens the auth flow and stores the credential.
OAuth 2.0 oauth2 discovered
$ acli jira auth login --web Acquired by the CLI — running acli jira auth login --web opens the auth flow and stores the credential.
Create an admin API key and copy your organization ID using the admin guide Manage an organization with the admin APIs. Use the API key as a Bearer token when calling Cloud Admin API Access endpoints and acli admin commands.