Skip to content
Back to skills

Archive

ASecurity

Archive Jira issues matching a JQL query with jirac

  • 50 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aigodatabase

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add mulhamna/jira-commands --skill archive --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Archive?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Archive
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mulhamna-archive/badge)](https://www.skillsdirectory.com/skills/mulhamna-archive)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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:
- Archive requires sufficient Jira permissions (typically Project Administrator).
- Archived issues remain in the database but are hidden from boards, dashboards, and standard JQL searches by default.
- Prefer scoping by `project`, `resolution`, `updated`, and `status` — broad queries can archive far more than expected.
- For non-destructive cleanup, consider `bulk-transition` to a "Won't Do" or "Closed" status first.

Examples:
- "archive done issues older than 6 months in PROJ" → `jirac issue archive --jql 'project = PROJ AND resolution = Done AND updated < -180d'`
- "archive all 'Won't Do' items in PROJ older than 90 days" → `jirac issue archive --jql 'project = PROJ AND status = "Won''t Do" AND updated < -90d'`
- "archive released old work" → `jirac issue archive --jql 'project = PROJ AND fixVersion in releasedVersions() AND updated < -365d'`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.