/kanban:label <KEY> [--add L1 [--add L2 …]] [--remove L1 [--remove L2 …]] [--override-ap]from kanban
Add or remove labels on a Jira card without changing its status.
Ships in kanban. Installing the plugin adds it to Claude Code.
Add or remove labels on a Jira card as a stand-alone operation
(separate from a status transition). Each --add and --remove is
repeatable; you can mix both in one invocation.
Use cases:
kanban:cancelled or wontfix without forcing a
status change.agent-touched for a custom JQL filter the team
maintains.If backend.jira.labels.allowed is configured in kanban.json, every
--add is checked against the allowlist and rejected when not on it.
Removal is never gated by the allowlist — removing a stale label is
always safe.
kanban.json#backend.driver == "jira".$ARGUMENTS:
<KEY> — Jira issue key.--add <label> — repeatable; at least one of --add or --remove
is required (one invocation can do both).--remove <label> — repeatable.--override-ap — acknowledge AP-mismatch warning. Surfaced but
non-blocking.The CLI surface is two subcommands (one each for add / remove). When the user passes both, run them sequentially:
# --add L1 [--add L2 ...]
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/jira_setup.py add-label \
--kanban-path '<kanban.json path>' \
--key '<KEY>' \
--label '<L1>' [--label '<L2>' ...]
# --remove L1 [--remove L2 ...]
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/jira_setup.py remove-label \
--kanban-path '<kanban.json path>' \
--key '<KEY>' \
--label '<L1>' [--label '<L2>' ...]
Response (each call):
{
"ok": true,
"key": "BZK-646",
"labels": ["kanban:cancelled", "agent-touched"],
"warnings": []
}
Allowlist rejection:
{"ok": false, "error": "labels [\"foo\"] are not in backend.jira.labels.allowed (...)", "kind": "label-not-allowed"}
When the allowlist rejects, surface the error verbatim. Don't retry with a guessed label — ask the user to either pick from the allowlist or extend it.
✓ BZK-646 labels: kanban:cancelled, agent-touched
When both add and remove happen, render the final label list from the second call's response (already merged).
kanban_awaiting_approval, kanban_needs_decision,
etc.) by hand — those are managed by /kanban:transition and a
manual add desyncs the card. Use /kanban:transition instead./kanban:transition; if it's metadata, use
this command.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub kirinchen/claude-workbench --plugin kanban29 commands in this plugin
/assign-ap/kanban:assign-apSet the current repo's Agent Property (AP) — written to .claude/kanban-agent.json./block/kanban:blockMove a task to BLOCKED with a required reason./create/kanban:createCreate a single top-level card (no parent) on the board, auto-tagged with this repo's AP./create-sub/kanban:create-subSpawn N sub-cards from a parent issue, linked back via Jira issue link./delete/kanban:deleteDelete a Jira card. Destructive — refuses without --confirm; writes an audit snapshot first./doing/kanban:doingWork the DOING pool — read every card you currently own (status=DOING) and execute them in a sensible order.Other plugins' commands for the same job