Run mixed Jira operations in batch using jirac.
Steps:
- Check that
jiracis available by runningjirac --version. If it is missing, tell the user to install it withcargo install jira-commands. - Build a JSON manifest array from the user's request. Each object needs an
"op"field:"create"— same fields as bulk-create manifest (project,summary,type, etc.)"update"—key+ fields to update (summary,priority,assignee, etc.)"transition"—key+to(transition name or ID)"archive"—key
- Save the manifest to a temp file (e.g.
/tmp/ops.json). - Run
jirac issue batch --manifest /tmp/ops.json. - Report the per-op result summary.
Manifest format:
[
{ "op": "create", "project": "PROJ", "summary": "New task", "type": "Task" },
{ "op": "update", "key": "PROJ-10", "priority": "High", "assignee": "me" },
{ "op": "transition", "key": "PROJ-11", "to": "Done" },
{ "op": "archive", "key": "PROJ-12" }
]
Examples:
- "create a task and close two other issues in one go" → build batch manifest, run
jirac issue batch --manifest /tmp/ops.json - "run these mixed Jira ops from this list" → build manifest from the list, run
jirac issue batch --manifest /tmp/ops.json