Open Source CLI

Atlassian Cloud
as Code

One CLI for Jira, Confluence, Bitbucket & JSM.
Automate your entire stack from the terminal.

terminal
$
$
$
brew install omar16100/tap/atlassian-cli

Full Product Coverage

First-class support for your entire Atlassian Cloud stack

Jira

  • Search, create, update issues
  • Bulk transitions with dry-run
  • Automation rules management
  • Webhooks & audit logs

Confluence

  • Space & page management
  • CQL-based search
  • Bulk export & backup
  • Attachment handling

Bitbucket

  • Repository management
  • Pull request workflows
  • Branch protection
  • Pipeline operations

JSM

  • Service desk operations
  • Request management
  • Customer portal access
  • SLA tracking

Built for Automation

Designed for scripts, pipelines, and runbooks

Safe by Default

Dry-run mode previews changes before execution. Confirmation prompts protect against accidents.

Multi-Format Output

Table, JSON, CSV, YAML, or quiet mode. Pipe to jq, export to spreadsheets, or integrate with any tool.

Secure Credentials

File-based storage with 600 permissions. Profile support for multiple instances. No keychain dependency.

Bulk Operations

Concurrent execution with progress tracking. Process thousands of items with rate-limit handling.

CI/CD Ready

Works with GitHub Actions, GitLab CI, Jenkins, and any pipeline. Exit codes and machine-readable output.

Fast & Lightweight

Native Rust binary. Single executable, no runtime dependencies. Low memory footprint.

Real-World Runbooks

Production-ready automation scripts

Bulk Transition Issues

# Preview issues to transition (dry-run)
atlassian-cli jira bulk transition \
  --jql "project = DEV AND status = 'In Progress'" \
  --transition "Done" \
  --dry-run

# Execute the transition
atlassian-cli jira bulk transition \
  --jql "project = DEV AND status = 'In Progress'" \
  --transition "Done" \
  --profile prod

Backup Space with Attachments

# Export all pages from a space
atlassian-cli confluence bulk export \
  --cql "space = DOCS AND type = page" \
  --output pages.json \
  --format json

# Get space metadata
atlassian-cli confluence space get DOCS --output json

# List attachments for a page
atlassian-cli confluence attachment list 123456

PR Automation Workflow

# List open pull requests
atlassian-cli bitbucket pr list \
  --workspace myteam \
  --repo api-service \
  --state OPEN

# Approve and merge a PR
atlassian-cli bitbucket pr approve myteam api-service 42
atlassian-cli bitbucket pr merge myteam api-service 42 \
  --strategy squash

# Protect main branch
atlassian-cli bitbucket branch protect main --approvals 2

Get Started

Install in seconds, configure once

Homebrew

macOS & Linux

brew install omar16100/tap/atlassian-cli

Cargo

Rust toolchain

cargo install atlassian-cli

Binary

GitHub Releases

Download latest release

Configure

# Add your first profile
atlassian-cli auth login \
  --email you@company.com \
  --instance your-domain.atlassian.net

# Verify it works
atlassian-cli jira search --jql "assignee = currentUser()"
Copied!