jira-cli
What it does
This skill teaches the AI how to use the jira command line tool to work with Jira issues and project data. It is for people who manage tasks in Jira and want their AI to handle routine work.
When to use it
- ✓When you want to find Jira issues that match a filter, such as your open tickets.
- ✓When you need to create a new Jira issue or change fields on an existing one.
- ✓When you want Jira data in a clean format for a report or summary.
Skill link
https://github.com/ankitpokhrel/jira-cli/blob/main/skills/jira-cli/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Find all open Jira tickets assigned to me and list their titles and status.”
5 new skills a week. 1 minute to read.
How it works
The agent uses the tool's built-in help to find the right commands, then reads Jira data in a plain format that is easy to process.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Jira CLI
Use this skill when operating Jira through the jira command. Start with jira --help, then inspect the relevant command and subcommand help (for
example, jira issue list --help) before using them. The installed CLI's help is the source of truth for its available commands, flags, and syntax; it also
contains command-specific examples. This skill adds agent-oriented safety guidance and useful workflow patterns that may not be obvious from the flags.
Prefer machine-readable output
List commands are interactive by default. When reading data programmatically, prefer an output format intended for parsing:
# JSON
jira issue list --raw
# Plain text, optionally selecting fields and omitting headers
jira issue list --plain --columns key,summary --no-headers
# CSV
jira issue list --csv
Use --raw when supported and JSON is needed. Otherwise, use --plain with --columns and --no-headers to minimize parsing ambiguity.
Configuration and fields
The default configuration file is:
$XDG_CONFIG_HOME/.jira/.config.yml
When XDG_CONFIG_HOME is unset, it is:
~/.config/.jira/.config.yml
The configuration file can be used as a data source. It contains the configured project, issue types, and custom field definitions. In particular, inspect
issue.types and issue.fields.custom before constructing create, edit, or --custom commands.
Use --config/-c or JIRA_CONFIG_FILE to select another configuration file.
This metadata is created during jira init and, over time, can become out of sync with Jira. Refreshing the configuration with jira init changes local
configuration. NEVER do it without obtaining explicit confirmation first.
For custom fields, use --custom key=value. The key is derived from the configured field name in lowercase with words separated by hyphens (for example,
Story Points becomes story-points). The expected value format depends on the field type; array values are comma-separated. Only use fields present in the
configuration, and inspect their schema rather than guessing the format.
Do not guess a field name, ID, allowed value, or issue type when it is missing or inconsistent. Instead, use another authorized source of truth, such as the Jira
UI or API. Some error messages contain relevant data; for instance, when jira issue move fails due to an invalid transition state, it lists available
states in the error output. If everything fails, ask the user.
Useful JQL patterns
Use jira issue list --jql (-q) when the built-in filters are insufficient. For example, raw JQL can search across multiple projects, use a saved filter, or
approximate a backlog query:
# Issues in either project
jira issue list -q "project IN (PRJ1, PRJ2)"
# Issues matching a saved Jira filter
jira issue list -q "filter='my saved filter'"
# Backlog-style issues (adapt statuses and issue types to the project workflow)
jira issue list -s~Done -q "sprint is empty and issuetype not in (Epic, Sub-task)" --order-by rank --reverse
When the JQL itself contains a project condition, it takes precedence over --project (-p); do not expect -p to further restrict that query.
Safe execution
- NEVER expose
JIRA_API_TOKENor config credentials;--debugmay print auth headers. - ALWAYS confirm destructive actions and externally visible changes the user did not explicitly request.
- Read an issue before updating it when its current state matters. Verify consequential or uncertain updates.
- Use
jira <command> [<subcommand>] --helpfor flags, requirements, and examples. Supply explicit arguments and use--no-inputwhen supported. - Cache useful discoveries for the session.
FAQ
Do I need the Jira CLI installed?
Yes. The skill runs the jira command, so that tool must be installed and set up first.
Can it change Jira tickets as well as read them?
Yes. The skill covers creating and updating issues, not only searching for them.
Where does it find my Jira settings?
It reads a configuration file in your config folder that lists your project and custom fields.
Details
Original description by the author
Use Jira-CLI to search, inspect, create, or update Jira issues and related project data. Covers machine-readable output, configuration metadata, command discovery, and safe execution.
repo: ankitpokhrel/jira-cli
Popularity
- GitHub stars
- 6.1k
- Ranking position
- #14430
- License
- MIT
- Updated
- 10/17/2026
Comments
- …
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.