Syntax
Description
Closes one or more issues and records the reason for closure. This sets the status toclosed and adds a timestamp.
Arguments
One or more issue IDs to close (e.g.,
bd-1 bd-2 bd-3).Options
Reason for closing the issue. Recorded in the issue’s event history.
Output the closed issue(s) in JSON format.
Examples
Output Format
Human-readable (single issue)
Human-readable (multiple issues)
JSON (with —json flag)
Issue not found
Closure Reasons
Common closure reasons:"Completed"(default) - Work finished successfully"Fixed and tested"- Bug resolved"Implemented"- Feature completed"Duplicate of bd-X"- Duplicate issue"Won't fix"- Out of scope or declined"Cannot reproduce"- Bug not reproducible"Obsolete"- No longer relevant
Batch Closing
Close related work efficiently:Closing an issue sets
closed_at timestamp and creates a Closed event with the specified reason. The issue remains in the database and can be queried with tracer list --status closed.