Skip to main content
Generated from bd help --doc update. Update one or more issues. If no issue ID is provided, updates the last touched issue (from most recent create, update, show, or close operation). This fallback only applies in interactive sessions (stdin is a terminal); in scripts and agent sessions a missing ID is an error, so a command built from an empty variable cannot silently mutate an unrelated issue. Set BD_LAST_TOUCHED_FALLBACK=1 to allow the fallback anywhere, or =0 to disable it entirely. Updates are applied per issue ID, not atomically across IDs: when some IDs fail, the remaining issues are still updated, every failed ID is reported on stderr, and the command exits nonzero. Exit codes: 1 for general failures; 13 when every failure is a stale —if-assignee/—if-status guard (the precondition no longer held, nothing was written — another actor won the race, so retrying the same guard is pointless).
Flags: