api
Execute a raw Jira REST API call through the jirac CLI, including GET, POST, PUT, DELETE, and PATCH requests to any Jira REST endpoint
Archive Jira issues matching a JQL query with jirac
$ npx -y skills add mulhamna/jira-commands --skill archive --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/archiveContext preview
The summary Claude sees to decide when to auto-load this skill.
Archive Jira issues matching a JQL query with jirac
description: Archive Jira issues matching a JQL query with jirac
Archive all issues matching a JQL query using `jirac`. Archive is destructive — issues are hidden from regular search and become read-only.
Steps: 1. Check that `jirac` is available by running `jirac --version`. If missing, tell the user to install it (`cargo install jira-commands`). 2. Extract or build a JQL query from the user's request that scopes the archive cleanly (project, status, age, resolution). 3. Dry-run the JQL via `jirac issue list --jql '<JQL>'` so the user can see the affected set before archiving. 4. Confirm intent explicitly — archive is irreversible without admin assistance. 5. Run `jirac issue archive --jql '<JQL>'` (omit `--force` to keep the confirmation prompt; add `--force` only after explicit confirmation in agent flows). 6. Report how many issues were archived.
Notes:
Examples:
Jira on the command line. jirac is a Jira command-line client written in Rust. It ships as a single binary with no runtime dependencies and runs on macOS, Linux, and Windows.
Repo: mulhamna/jira-commands
Execute a raw Jira REST API call through the jirac CLI, including GET, POST, PUT, DELETE, and PATCH requests to any Jira REST endpoint
Run mixed Jira operations (create, update, transition, archive) from a single JSON manifest file using jirac batch
Add the same Markdown comment to multiple Jira issues with jirac, either by JQL query or explicit issue keys
Create multiple Jira issues at once from a JSON manifest file using jirac bulk-create
Bulk transition multiple Jira issues with a JQL filter through the jirac CLI