Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes...
npx skills add danmestas/agent-skills --skill "atlassian-cli-jira"
Install specific skill from multi-skill repository
# Description
Use when working with Atlassian CLI (acli) to install, authenticate, and manage Jira Cloud work items/issues from the command line: search (JQL), view, create, edit, assign, transition, comment, link, watch, attach, archive/unarchive, bulk operations, and project/board/sprint discovery.
# SKILL.md
name: atlassian-cli-jira
description: "Use when working with Atlassian CLI (acli) to install, authenticate, and manage Jira Cloud work items/issues from the command line: search (JQL), view, create, edit, assign, transition, comment, link, watch, attach, archive/unarchive, bulk operations, and project/board/sprint discovery."
Atlassian CLI Jira
Comprehensive reference for Atlassian CLI (acli) focused on Jira Cloud workflows from the command line.
Version: Check with acli --version (each CLI version is supported for 6 months after release). Some commands in the CLI structure section require ACLI 1.3.5+; if you see "unknown command", upgrade and re-check.
Prerequisites
Installation (macOS)
brew tap atlassian/homebrew-acli
brew install acli
acli --version
Or download the macOS binary:
# Intel
curl -LO "https://acli.atlassian.com/darwin/latest/acli_darwin_amd64/acli"
# Apple Silicon
curl -LO "https://acli.atlassian.com/darwin/latest/acli_darwin_arm64/acli"
chmod +x ./acli
sudo mv ./acli /usr/local/bin/acli
sudo chown root: /usr/local/bin/acli
Authentication
# OAuth (browser)
acli jira auth login --web
# API token (stdin)
echo <token> | acli jira auth login --site "mysite.atlassian.net" --email "[email protected]" --token
# Switch between accounts
acli jira auth switch
CLI Structure
acli jira
โโโ auth
โ โโโ login
โ โโโ switch
โโโ board
โ โโโ list-sprints
โ โโโ search
โโโ dashboard
โ โโโ search
โโโ field
โ โโโ create
โ โโโ delete
โ โโโ cancel-delete
โโโ filter
โ โโโ search
โ โโโ list
โ โโโ add-favourite
โโโ project
โ โโโ archive
โ โโโ create
โ โโโ delete
โ โโโ list
โ โโโ restore
โ โโโ update
โ โโโ view
โโโ sprint
โ โโโ list-workitems
โโโ workitem
โโโ archive
โโโ assign
โโโ attachment
โ โโโ list
โ โโโ delete
โโโ clone
โโโ comment
โ โโโ create
โ โโโ list
โ โโโ update
โ โโโ delete
โ โโโ visibility
โโโ create
โโโ create-bulk
โโโ delete
โโโ edit
โโโ link
โ โโโ create
โ โโโ delete
โ โโโ list
โ โโโ type
โโโ search
โโโ transition
โโโ unarchive
โโโ view
โโโ watcher
โโโ remove
Command Pattern
acli <product> <entity> <action> [flags]
Example:
acli jira workitem create --summary "New Task" --project TEAM --type Task
Output Formatting
--jsonfor JSON output (when available)--csvfor CSV output (when available)--paginateto fetch all pages (where available)--webto open results in the browser (where available)
Common Workflows
Search and view work items
# JQL search
acli jira workitem search --jql "project = TEAM" --paginate
# View a work item
acli jira workitem view --key "TEAM-123"
Create and edit work items
# Create a work item
acli jira workitem create --summary "New Task" --project TEAM --type Task
# Create from JSON
acli jira workitem create --generate-json
acli jira workitem create --from-json "workitem.json"
# Edit from JSON
acli jira workitem edit --generate-json
acli jira workitem edit --from-json "workitem.json"
Assign and transition
# Assign to yourself
acli jira workitem assign --key "TEAM-123" --assignee "@me"
# Transition by status
acli jira workitem transition --key "TEAM-123" --status "Done"
Comment and link
# Comment
acli jira workitem comment --key "TEAM-123" --body "Status update"
# Link work items
acli jira workitem link create --out TEAM-123 --in TEAM-456 --type Blocks
Boards and sprints
# Find boards by name
acli jira board search --name "Platform"
# List sprints for a board
acli jira board list-sprints --id 123
# List work items in a sprint
acli jira sprint list-workitems --sprint 1 --board 6
Projects
# List projects
acli jira project list --recent
# Create a project from an existing one
acli jira project create --from-project "TEAM" --key "NEWTEAM" --name "New Project"
CI Usage
# install-acli.sh
#!/bin/bash
set -euo pipefail
# Download the latest release.
curl -LO "https://acli.atlassian.com/linux/latest/acli_linux_amd64/acli"
# Make the acli binary executable.
chmod +x ./acli
# You can now use acli from this directory.
./acli --help
# Authenticate with a bot token in CI
echo "$BOT_API_TOKEN" | ./acli jira auth login --email [email protected] --site hello.atlassian.com --token
Shell Autocomplete (zsh, macOS)
# Enable completion in your shell config (one-time)
echo "autoload -U compinit; compinit" >> ~/.zshrc
# Enable in the current session
source <(acli completion zsh)
# Persist completion for new sessions
acli completion zsh > $(brew --prefix)/share/zsh/site-functions/_acli
Safety Defaults
- Prefer
archive/unarchiveoverdeletefor recoverable actions. - Use
--yesonly when selection criteria are precise. - Validate JQL with a small query before running bulk actions.
Getting Help
acli --help
acli jira --help
acli jira workitem --help
acli jira workitem create --help
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.