| name | jira-cli |
| description | Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items. |
| license | MIT |
| compatibility | Requires jira-cli installed (https://github.com/ankitpokhrel/jira-cli) and configured with `jira init`. Requires JIRA_API_TOKEN environment variable. |
| metadata | {"author":"Colby Timm","version":"1.0"} |
Jira CLI
Interact with Atlassian Jira from the command line using jira-cli.
When to Use
- User asks to create, view, edit, or search Jira issues/tickets
- User needs to transition issues through workflow states (To Do → In Progress → Done)
- User wants to manage sprints, epics, or boards
- User needs to assign issues, add comments, or log work time
- User asks about their current tasks or sprint progress
Prerequisites
- Install jira-cli:
brew install ankitpokhrel/jira-cli/jira-cli (macOS) or download from releases
- Set API token:
export JIRA_API_TOKEN="your-token"
- Initialize:
jira init and follow prompts
Issue Commands
List Issues
jira issue list
jira issue list -a$(jira me)
jira issue list -s"In Progress"
jira issue list -yHigh
jira issue list -a$(jira me) -s"To Do" -yHigh --created week
jira issue list -q "project = PROJ AND status = 'In Progress'"
jira issue list --plain --columns key,summary,status --no-headers
Create Issues
jira issue create
jira issue create -tBug -s"Login button not working" -b"Description here" -yHigh --no-input
jira issue create -tStory -s"Add user authentication" -yMedium
jira issue create -tTask -s"Update dependencies" -lmaintenance -l"tech-debt" -Cbackend
jira issue create -tBug -s"Fix crash on startup" -a$(jira me) --no-input
View Issues
jira issue view ISSUE-123
jira issue view ISSUE-123 --comments 10
jira issue view ISSUE-123 --plain
jira open ISSUE-123
Edit Issues
jira issue edit ISSUE-123 -s"Updated summary"
jira issue edit ISSUE-123 -b"New description"
jira issue edit ISSUE-123 -yHigh
jira issue edit ISSUE-123 -lnew-label
Transition Issues
jira issue move ISSUE-123 "In Progress"
jira issue move ISSUE-123 "Done" --comment "Completed the task"
jira issue move ISSUE-123 "Done" -RFixed
Assign Issues
jira issue assign ISSUE-123 $(jira me)
jira issue assign ISSUE-123 username
jira issue assign ISSUE-123 x
Comments
jira issue comment add ISSUE-123 "This is my comment"
jira issue comment add ISSUE-123
Work Logging
jira issue worklog add ISSUE-123 "2h 30m"
jira issue worklog add ISSUE-123 "1d 4h" --comment "Completed feature implementation" --no-input
Link & Clone Issues
jira issue link ISSUE-123 ISSUE-456 Blocks
jira issue unlink ISSUE-123 ISSUE-456
jira issue clone ISSUE-123 -s"Cloned: New summary"
jira issue delete ISSUE-123
Epic Commands
jira epic list
jira epic list --table
jira epic create -n"Q1 Features" -s"Epic summary" -b"Epic description"
jira epic add EPIC-1 ISSUE-123 ISSUE-456
jira epic remove ISSUE-123 ISSUE-456
Sprint Commands
jira sprint list
jira sprint list --current
jira sprint list --current -a$(jira me)
jira sprint add SPRINT_ID ISSUE-123 ISSUE-456
Project & Board Commands
jira project list
jira board list
jira release list
jira open
Utility Commands
jira me
jira --help
jira issue --help
jira completion bash
Common Flags
| Flag | Description |
|---|
--plain | Plain text output (no interactive UI) |
--raw | Raw JSON output |
--csv | CSV output |
--no-input | Skip interactive prompts |
-t, --type | Issue type (Bug, Story, Task, Epic) |
-s, --summary | Issue summary/title |
-b, --body | Issue description |
-y, --priority | Priority (Highest, High, Medium, Low, Lowest) |
-l, --label | Labels (repeatable) |
-a, --assignee | Assignee username |
-r, --reporter | Reporter username |
-C, --component | Component name |
-P, --parent | Parent issue/epic key |
-q, --jql | Raw JQL query |
--created | Filter by creation date (-7d, week, month) |
--order-by | Sort field |
--reverse | Reverse sort order |
Common Workflows
Start Working on an Issue
jira issue assign ISSUE-123 $(jira me)
jira issue move ISSUE-123 "In Progress"
Complete an Issue
jira issue worklog add ISSUE-123 "4h" --no-input
jira issue move ISSUE-123 "Done" --comment "Completed" -RFixed
Daily Standup Review
jira sprint list --current -a$(jira me)
Create and Track a Bug
jira issue create -tBug -s"App crashes on login" -yHigh -lbug --no-input
jira issue assign BUG-123 $(jira me)
jira issue move BUG-123 "In Progress"
Output Examples
| Command | Use Case |
|---|
jira issue list --plain | Script-friendly output |
jira issue list --raw | JSON for parsing |
jira issue list --csv | Export to spreadsheet |
Limitations
- Requires prior
jira init configuration
- Some features may vary between Jira Cloud and Server
- Complex custom fields may require
--custom flag with field IDs
- Rate limits apply based on Jira instance configuration