Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Jun 25, 2026

Manage TWG CLI settings for your organization

You can control which OAuth permissions Teamwork Graph CLI (TWG CLI) can request for your organization. These settings don't install or remove twg on anyone's device - they only govern what TWG CLI can do when users authenticate with OAuth.

To learn how authentication works, see How authentication works.

Open Teamwork Graph CLI settings

  1. Go to Atlassian Administration.
  2. Select your organization if you have more than one.
  3. In the sidebar, select Rovo, then select Teamwork Graph CLI.

The page displays the Permissions section for Teamwork Graph CLI.

Choose the default permission mode

By default, Allow all permissions by default is on. In this mode, TWG CLI can request all current OAuth permissions in the settings page, and new TWG CLI permissions added later are allowed automatically.

To review and manage permissions individually, turn Allow all permissions by default off. You can then configure permissions in the Read, Write and manage, and Delete categories.

There isn't a separate organization-level enable or disable toggle in the current OAuth settings. To block TWG CLI OAuth access, turn off Allow all permissions by default, clear the permissions in each category, save your changes, and choose Save and revoke sessions.

Configure permissions

Use write and delete access with caution. When write and delete permissions are enabled, users can create, edit, manage, or delete objects in your connected apps - such as Jira work items and Confluence pages - using the CLI. Only enable the permissions your organization genuinely needs.

Use permissions to control what TWG CLI can do across your connected apps and tools. These permissions apply to OAuth 2.1, which is the only authentication method TWG CLI supports, except for Bitbucket commands.

For the full procedure and how enforcement works, see Configure TWG CLI permissions.

Revoke active sessions after changes

When you save permission changes, Atlassian Administration asks whether to revoke active TWG CLI sessions:

  • Save without revoking saves the new settings, but users may continue using existing sessions until they need to re-authenticate.
  • Save and revoke sessions saves the new settings and requires users to authenticate again before TWG CLI can use the updated permissions.

Revoking sessions is the fastest way to make permission reductions take effect for active users.

Authentication posture

Each user authenticates with OAuth 2.1 during setup. Authentication happens at the user level, while organization settings control the OAuth permissions TWG CLI is allowed to request.

Bitbucket is the only exception to OAuth support. Bitbucket commands require a separate Bitbucket token and aren't controlled by these OAuth permission settings.

How TWG CLI shows up in audit logs

TWG CLI actions are visible in Atlassian audit logs. Go to Atlassian Administration, then Insights, then Audit log. The captured event details include the following fields:

  • Name of the command (for example, jira workitem get)
  • Family of the command (for example, jira.workitem)
  • Type of command (read, write, or delete)
  • Status code of the command call
  • Invocation source (user or agent)
  • Permissions used to make the command call
  • TWG CLI version used in the command call
  • Trace ID for debugging

Any command run by a user who's logged in sends an event to the audit log. Audit logs are organized in Atlassian Administration by the user's org ID. You can filter logs by:

  • Activity dropdown — select Invoked TWG CLI command to view all TWG CLI logs.
  • Command name (such as jira workitem get).
  • Actor — always the user's name, not an AI agent.

Each entry contains the full JSON event and associated event details.

IP allowlist behavior

TWG CLI respects all the IP allowlists configured for your organization.

Next steps

Rate this page: