| name | zaira |
| description | Access Jira tickets offline using zaira CLI. Use when user needs to export, report, or refresh Jira tickets, or mentions "jira", "zaira", or ticket keys like "FOO-123". |
Zaira - Jira CLI
Exports Jira tickets to local markdown for offline access. See https://github.com/vivainio/zaira for setup.
Start here: zaira get FOO-1234 is usually the first command to run — it fetches and displays a ticket. Use --min for a quick peek (key + summary + description only).
Commands
zaira search "login bug"
zaira search "login bug" -p FOO
zaira search -p FOO -s "In Progress"
zaira search -a "john.doe" -p FOO
zaira search --jql "project = FOO AND created >= -7d"
zaira search "keyword" -n 20
zaira search "login" --format json
zaira search "login" --format toon
zaira get FOO-1234 --min
zaira get FOO-1234
zaira get FOO-1234 FOO-5678
zaira get FOO-1234 --format json
zaira get FOO-1234 --all-fields
zaira get FOO-1234 -o tickets/
zaira get --jql "project = FOO" -o tickets/
zaira get --board 123 -o tickets/
zaira get --sprint 456 -o tickets/
zaira get FOO-1234 --with-prs
zaira get FOO-1234 --with-tests
zaira get --jql "..." -o tickets/ --parallel
zaira report --board 123 --group-by status
zaira report my-tickets --full
zaira report --dashboard 123
zaira report --jql "project = FOO" --files
zaira report --jql "..." -g components
zaira report --jql "..." --full --parallel
zaira report --dashboard 123 --parallel
zaira refresh sprint-review.md
zaira my
zaira my -r
zaira recent
zaira recent -n 10
zaira boards
zaira create ticket.md
zaira create - --dry-run
zaira edit FOO-1234 --title "New title"
zaira edit FOO-1234 --description "New description"
zaira edit FOO-1234 --field "Priority=High" --field "Epic Link=FOO-100"
zaira edit FOO-1234 --field "assignee=me"
zaira edit FOO-1234 --field "assignee=user@example.com"
zaira edit FOO-1234 --field "components=Backend"
zaira edit FOO-1234 --from fields.yaml
zaira edit FOO-1234 --from -
zaira edit FOO-1234 --field "Description=-"
zaira edit FOO-1234 --field "Priority=High" --dry-run
zaira edit FOO-1234 --field "Priority=High" --no-check
zaira log FOO-1234 2h
zaira log FOO-1234 30m -c "Code review"
zaira log FOO-1234 "1h 30m" -d 2026-02-05
zaira log FOO-1234 --list
zaira hours
zaira hours --days 14
zaira hours --from 2026-01-20 --to 2026-01-24
zaira hours --summary
zaira hours FOO-123 FOO-456
zaira get-attachment FOO-1234 "*.pdf"
zaira get-attachment FOO-1234 "report*" -o tmp/
zaira get-attachment FOO-1234 "*"
zaira attach FOO-1234 file1.pdf file2.png
zaira comment FOO-1234 "Comment text"
zaira link FOO-1234 FOO-5678 --type Blocks
zaira transition FOO-1234 "In Progress"
zaira transition FOO-1234 --list
zaira transition FOO-1234 Done -F "Resolution=Done"
zaira transition FOO-1234 Done -c "Comment text"
zaira transition FOO-1234 Done -F "Resolution=Done" -c "Comment"
zaira transition FOO-1234 Done --dry-run
zaira transition FOO-1234 Done --no-check
zaira history
zaira history -n 50
zaira history -k FOO-1234
zaira check FOO-1234
zaira check FOO-1234 FOO-5678
zaira bundle install skills/jira-process/rules
zaira bundle install https://example.com/bundle.zip
zaira bundle update
zaira bundle update --dry-run
zaira reset
zaira reset --rules
zaira info statuses
zaira info fields
zaira info fields --all
zaira info fields --refresh
zaira info field Priority "Story Points"
zaira info field components
zaira info field components -p FOO
Jira Formatting
When editing ticket descriptions or comments, use Jira wiki markup (not markdown):
h1. Heading 1
h2. Heading 2
h3. Heading 3
* Bullet item
* Another item
# Numbered item
# Another numbered item
*bold* _italic_ -strikethrough-
[link text|https://example.com]
{code}code block{code}
Confluence Wiki
See CONFLUENCE.md for wiki commands (zaira wiki get/put/edit/delete).
Atlassian Goals
See GOALS.md for the Atlassian Goals (Townsquare) export commands (zaira goals export/get).
Programmatic Access
import zaira
jira = zaira.client()
issue = jira.issue("FOO-123")
s = zaira.schema()
s["statuses"]
s["fields"]
s["priorities"]
ps = zaira.project_schema("FOO")
ps["components"]
ps["labels"]
Output
tickets/ - Exported ticket markdown files
reports/ - Generated reports
~/.cache/zaira/ - Cached schema (fields, statuses, etc.) and activity.log
Setup
zaira init
Project Setup (for project managers)
Note: zproject.toml is for project managers and power users who need repeatable reports, query aliases, and batch operations. Most users don't need this - the commands above work without any project configuration.
zaira init-project FOO
zaira init-project FOO BAR
zaira init-project FOO --force
In a directory with zproject.toml, you can use named queries, report aliases, and batch operations.