acli-jira
Original:🇺🇸 English
Translated
Use acli to manage Jira tickets -- search, view, create, edit, transition, assign, comment, and more from the command line.
7installs
Sourcearjunmahishi/dotfiles
Added on
NPX Install
npx skill4agent add arjunmahishi/dotfiles acli-jiraTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Purpose
Use this skill when you need to interact with Jira: reading tickets, creating new work items, updating existing ones, searching with JQL, transitioning status, assigning, commenting, or browsing projects. provides full Jira Cloud management from the CLI.
acli jiraWhen to use what
- : View a specific ticket by key. Use to read ticket details, description, status, assignee, etc.
acli jira workitem view - : Find tickets using JQL queries. Use for any search, filtering, or listing of work items.
acli jira workitem search - : Create a new ticket. Use when the user wants to file a bug, task, story, or epic.
acli jira workitem create - : Modify an existing ticket's summary, description, labels, type, or assignee.
acli jira workitem edit - : Move a ticket to a new status (e.g., "In Progress", "Done").
acli jira workitem transition - : Change or remove a ticket's assignee.
acli jira workitem assign - : Add a comment to a ticket.
acli jira workitem comment create - : Read comments on a ticket.
acli jira workitem comment list - : List available projects. Use to discover project keys.
acli jira project list - : View details of a specific project.
acli jira project view - : List tickets in a sprint (requires
acli jira sprint list-workitemsand--sprintIDs).--board - : Find boards by name or keyword.
acli jira board search
Core concepts
- Always use on read commands (
--json,view,search,comment list, etc.) to get machine-readable output.project list - Always use on mutation commands (
--yes,edit,transition) to skip interactive confirmation prompts that would hang in a non-interactive shell.assign - JQL (Jira Query Language) is used for searching. Pass it via .
--jql "..." - is a shorthand for the authenticated user (works in
@me).--assignee - Labels are comma-separated: .
--label "bug,backend,urgent" - Work item types use Jira issue types: ,
Task,Bug,Story,Epic, etc. Pass viaSub-task.--type - Keys are project-prefixed IDs like . Multiple keys are comma-separated:
PROJ-123.--key "PROJ-1,PROJ-2"
Recommended workflow
- Discover projects: to find available project keys.
acli jira project list --json - Search for tickets: to find relevant work items.
acli jira workitem search --jql "project = PROJ AND ..." --json - View a ticket: to read full details.
acli jira workitem view PROJ-123 --json - Create/edit/transition as needed using the commands below.
Common JQL patterns
sh
# All open tickets in a project
--jql "project = PROJ AND status != Done"
# Tickets assigned to me
--jql "assignee = currentUser()"
# Bugs created this week
--jql "project = PROJ AND type = Bug AND created >= startOfWeek()"
# Tickets with a specific label
--jql "project = PROJ AND labels = backend"
# Search by summary text
--jql "project = PROJ AND summary ~ \"search term\""
# High priority open items
--jql "project = PROJ AND priority in (High, Highest) AND status != Done"
# Recently updated
--jql "project = PROJ AND updated >= -7d ORDER BY updated DESC"Examples
View a ticket
sh
acli jira workitem view PROJ-123 --json
# View specific fields only
acli jira workitem view PROJ-123 --fields "summary,status,assignee,labels,comment" --jsonSearch for tickets
sh
# Search with JQL, get JSON output
acli jira workitem search --jql "project = PROJ AND status = 'In Progress'" --json
# Search with specific fields and a result limit
acli jira workitem search --jql "project = PROJ AND assignee = currentUser()" \
--fields "key,summary,status,priority,labels" --limit 20 --json
# Get count of matching tickets
acli jira workitem search --jql "project = PROJ AND type = Bug" --countCreate a ticket
sh
# Basic creation
acli jira workitem create \
--project "PROJ" \
--type "Task" \
--summary "Implement feature X" \
--description "Detailed description here" \
--label "backend,feature" \
--assignee "@me" \
--json
# Create a bug with a parent (sub-task)
acli jira workitem create \
--project "PROJ" \
--type "Bug" \
--summary "Fix login timeout" \
--description "Users report timeout after 30s on the login page" \
--label "bug,auth" \
--parent "PROJ-100" \
--json
# Create with description from a file
acli jira workitem create \
--project "PROJ" \
--type "Story" \
--summary "User onboarding flow" \
--description-file description.txt \
--jsonEdit a ticket
sh
# Edit summary and labels
acli jira workitem edit --key "PROJ-123" \
--summary "Updated summary" \
--labels "backend,urgent" \
--yes --json
# Change assignee
acli jira workitem edit --key "PROJ-123" \
--assignee "user@company.com" \
--yes --json
# Remove labels
acli jira workitem edit --key "PROJ-123" \
--remove-labels "stale" \
--yes --jsonTransition a ticket
sh
# Move to In Progress
acli jira workitem transition --key "PROJ-123" --status "In Progress" --yes --json
# Mark as Done
acli jira workitem transition --key "PROJ-123" --status "Done" --yes --json
# Transition multiple tickets
acli jira workitem transition --key "PROJ-1,PROJ-2,PROJ-3" --status "Done" --yes --jsonAssign a ticket
sh
# Assign to self
acli jira workitem assign --key "PROJ-123" --assignee "@me" --yes --json
# Assign to someone else
acli jira workitem assign --key "PROJ-123" --assignee "user@company.com" --yes --json
# Remove assignee
acli jira workitem assign --key "PROJ-123" --remove-assignee --yes --jsonComments
sh
# Add a comment
acli jira workitem comment create --key "PROJ-123" --body "This is ready for review"
# List comments
acli jira workitem comment list --key "PROJ-123" --jsonProjects
sh
# List all projects
acli jira project list --json
# View a specific project
acli jira project view --key "PROJ" --json
# List recently viewed projects
acli jira project list --recent --jsonSprints and boards
sh
# Find a board
acli jira board search --name "My Team" --json
# List sprints on a board
acli jira board list-sprints --id 42 --json
# List tickets in a sprint
acli jira sprint list-workitems --sprint 101 --board 42 --jsonImportant tips
- When creating tickets, always ask the user for the project key if not already known. Use to discover available projects.
acli jira project list --json - When creating tickets, infer appropriate labels from context (e.g., the area of the codebase, the type of work). Labels help with discoverability.
- Prefer output for all read operations so you can parse and summarize results for the user.
--json - Use on all write operations to avoid interactive prompts.
--yes - For large result sets, use to cap results or
--limitto fetch everything.--paginate - Status names for transitions are project-specific. If a transition fails, the error message will list valid statuses.
- To set custom fields (not exposed as CLI flags), use with
--from-json. Generate a template withadditionalAttributes.acli jira workitem create --generate-json
Board-specific conventions
For project-specific board conventions (required fields, custom field mappings, labels, templates), read the file if it exists. It contains board-specific conventions needed before creating or managing tickets on known boards.
~/.config/opencode/skills/acli-jira/boards.mdThis allows board conventions to be kept private (not checked into version control) while the core skill remains public.