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 Mar 27, 2026

CLI Reference

TWG CLI uses a consistent command grammar: twg <surface> <resource> <verb> [options]

Command Verbs

VerbPurpose
querySearch or list resources with filters
getFetch a single resource by ID or key
searchFull-text search
createCreate a new resource
updateModify an existing resource
deleteRemove a resource (requires confirmation)

Cross-Product Surfaces

1
2
twg work query                     # Activity summary across all products
twg docs query                     # Documents across Confluence + connected providers
twg videos query                   # Videos across Loom + connected providers
twg meetings query                 # Calendar events and recordings
twg recently-viewed                # Recently viewed items across products
twg pull-requests                  # PR detail from any SCM provider
twg commits                        # Commit detail from any SCM provider
twg deployments                    # Deployment detail from any SCM provider
twg collaborators                  # Top collaborators by shared work items
twg org-tree                       # Organizational hierarchy tree
twg resolve                        # Resolve names/URLs into Atlassian ARIs
twg rovo search                    # Rovo AI-powered search across your site

Jira (32 commands)

1
2
twg jira issues get                # Get issue by key
twg jira issues search             # Search with JQL
twg jira issues create             # Create issue
twg jira issues create-bulk        # Bulk create issues
twg jira issues update             # Update issue fields
twg jira issues watch / unwatch    # Manage watchers
twg jira issues task create/delete/resolve/reopen/update   # Subtasks
twg jira boards get / query        # Boards
twg jira dashboards get / query    # Dashboards
twg jira filters get / query       # Saved filters
twg jira priorities get / query    # Priority schemes
twg jira transitions get / update  # Workflow transitions
twg jira link create / delete      # Issue links
twg jira workitem get / query      # Workitems (service projects)
twg jira workitem comment create / update / delete         # Comments

Confluence (17 commands)

1
2
twg confluence pages get           # Get page by ID (--body-format adf|storage)
twg confluence pages create        # Create page (--space, --title, --body)
twg confluence pages update        # Update page content
twg confluence pages move          # Move page to another space
twg confluence blogs get / create / update / delete / query   # Blog posts
twg confluence search query        # Search with CQL
twg confluence spaces get / create / update / delete / query  # Spaces
twg confluence spaces archive / unarchive   # Space lifecycle

Bitbucket (30 commands)

1
2
twg bitbucket repo get / query                # Repositories
twg bitbucket branch create / query           # Branches
twg bitbucket commit query                    # Commits
twg bitbucket deployment query                # Deployments
twg bitbucket pipeline get / query            # Pipelines
twg bitbucket pull-requests get / create / update / merge / decline   # PRs
twg bitbucket pull-requests approve / unapprove / request-changes    # Reviews
twg bitbucket pull-requests comment create / update / delete / resolve   # PR comments
twg bitbucket pull-requests task create / update / delete / resolve      # PR tasks
twg bitbucket workspace get / member query    # Workspaces

Goals (7 commands)

1
2
twg goals query                    # List goals (--scope me|user|team)
twg goals get                      # Get goal by ID or key
twg goals search                   # Full-text search
twg goals dependencies create / delete   # Goal dependencies
twg goals updates create / update  # Goal status updates

Projects (7 commands)

1
2
twg projects query                 # List projects (--scope me|user|team)
twg projects get                   # Get project by key
twg projects search                # Full-text search
twg projects create / update / archive   # Project lifecycle
twg projects updates create        # Project status updates

Focus Areas (3 commands)

1
2
twg focus-areas query              # Query focus areas (--scope me|team|site)
twg focus-areas get                # Get by key or ARI
twg focus-areas search             # Search sitewide by text

Teams (2 commands)

1
2
twg teams query                    # Search teams by name
twg teams get                      # Get team by name or ARI

Projections

1
2
twg work query                     # Cross-product work summary per user/team
twg org-tree                       # Org hierarchy (--up-only for manager chain)
twg context jira workitem          # Enriched Jira issue with PRs, commits, pages
twg focus-areas-tree               # Focus area hierarchy tree

Identity & Collaboration

1
2
twg user                           # User profile by account ID
twg user search                    # Find user by email
twg collaborators                  # Collaboration analysis between users
twg resolve                        # Resolve names, URLs, or descriptions to ARIs

Additional Products

ProductCommandsDiscovery
Jira Service Management51twg jsm --help
Trello18twg trello --help
Jira Align16twg jira-align --help
Assets (CMDB)9twg assets --help
CSM6twg csm --help
Talent4twg talent --help
Loom8twg loom --help

Control Plane

1
2
twg login                          # Authenticate
twg skills install                 # Install agent skills
twg skills install --global        # Install globally
twg skills package                 # Package skills for distribution
twg diagnostics                    # Check auth, connectivity, build info
twg scopes list / describe / search / validate   # API scope management

Query Languages

1
2
# JQL — Jira Query Language
twg jira issues search --jql "project = PROJ AND status = 'In Progress'"

# CQL — Confluence Query Language
twg confluence search query --cql "space = ENG AND type = page"

# TQL — Atlas Goals & Projects
twg goals --tql "owner = currentUser() AND status = 'AT_RISK'"

# AQL — Assets Query Language
twg assets query --aql "objectType = Server AND Status = Active"

Rate this page: