Receber por email
← Voltar para o catálogo

jira-commands

Archive Jira issues matching a JQL query with jirac

42estrelas
Atualizado há 3 meses

Ver no GitHub ↗ Licença: NOASSERTION

Como adicionar

/plugin marketplace add mulhamna/jira-commands

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/jira-commands-mulhamna/svg)](https://www.skillteca.com.br/skills/jira-commands-mulhamna)

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

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'
Compartilhar X LinkedIn