bulk-transition · git:20260420.281fd3a · 2026-04-20 · sha256 cdff392dbc032495

bulk-transition git:20260420.281fd3aB

Immutable. This exact content never changes and is served at /api/v1/blob/cdff392dbc032495.

---
description: Bulk transition multiple Jira issues with a JQL filter through the jirac CLI
---

Bulk transition multiple Jira issues using `jirac`.

Steps:
1. Check that `jirac` is available by running `jirac --version`. If it is missing, tell the user to install it with `cargo install jira-commands`.
2. Extract from the user's request:
   - project key when relevant
   - target status
   - JQL filter, or enough context to build one
   - whether the user wants to skip confirmation
3. If no JQL is provided, build one from the request, for example `project = PROJ AND status = "To Do"`.
4. Run `jirac issue bulk-transition -p <PROJECT> -q '<JQL>' -t '<STATUS>' [--force]`.
5. Make it clear how many issues are affected and whether confirmation is still required.

Examples:
- "transition all To Do issues in PROJ to In Progress" → `jirac issue bulk-transition -p PROJ -q 'project = PROJ AND status = "To Do"' -t 'In Progress'`
- "close all done issues in PROJ without asking" → `jirac issue bulk-transition -p PROJ -q 'project = PROJ AND status = Done' -t 'Closed' --force`