website/docs/cli-reference/set-state.md
Generated from bd help --doc set-state
Atomically set operational state on an issue.
This command:
State labels follow the convention <dimension>:<value>, for example: patrol:active, patrol:muted mode:normal, mode:degraded health:healthy, health:failing
Examples: bd set-state agent-abc patrol=muted --reason "Investigating stuck worker" bd set-state agent-abc mode=degraded --reason "High error rate detected" bd set-state agent-abc health=healthy
The --reason flag provides context for the event bead (recommended).
bd set-state <issue-id> <dimension>=<value> [flags]
Flags:
--reason string Reason for the state change (recorded in event)