using-jira-cli
Installation
SKILL.md
Using Jira CLI
Use read-only discovery freely. Jira creates, edits, transitions, assignments, comments, worklogs, links, sprint/epic changes, and deletes are external writes and require authorization for the exact operation, target, and content. Supplying values for a draft does not authorize execution.
Establish Context
- Check
command -v jira,jira version, andjira mewithout exposing token values. - Identify the Jira instance and config file before querying or mutating. For multiple configs, use the confirmed
JIRA_CONFIG_FILEor-cpath consistently. - If setup is missing, do not run interactive
jira initin an agent shell. Ask the user to complete it or follow a verified non-interactive setup path. UseJIRA_API_TOKEN,.netrc, keychain, or existing secure configuration; never print, persist, or place secrets in command arguments. - Read installed help for version-sensitive syntax:
jira --help, thenjira <resource> <command> --help.
Read Workflow
- Discover project, board, user, status, field, or sprint context before assuming names or IDs.
- Use explicit issue keys for detail views.
- Prefer non-interactive, script-friendly output only when the installed command supports it:
--plain,--raw,--csv,--no-headers, or--columns. - Avoid commands that open an interactive issue browser; add the supported plain/raw form or use a narrower view.
Read references/commands.md only for the relevant resource's common command shapes, then verify flags against installed help.