agentleFS
danmestasdanmestas/wardrobe/skills/atlassian-cli-jira/SKILL.md

atlassian-cli-jira

Skill4 starsChanged 7 months agoMITView on GitHub

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.

  • Installs packages

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Version: Check with acli --version (each CLI version is supported for 6 months after release).

    line 20
  2. Very specific:

    Prefer archive/unarchive over delete for recoverable actions.

    line 245
  3. Very specific:

    Use --yes only when selection criteria are precise.

    line 246

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 "user@atlassian.com" --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

  • --json for JSON output (when available)
  • --csv for CSV output (when available)
  • --paginate to fetch all pages (where available)
  • --web to 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 bot@atlassian.com --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/unarchive over delete for recoverable actions.
  • Use --yes only 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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.