Usage
Description
Create a new issue with title, description, priority, type, labels, and dependencies. Issues can be created individually or in bulk from markdown files.Parameters
string
Issue title (required unless using
--file). Can be provided as positional argument or via --title flag.Core Flags
string
Issue title (alternative to positional argument)
string
Detailed description of the issue. Use
- to read from stdin for descriptions with special characters.string
default:"2"
Priority level: 0-4 or P0-P4 (P0=critical, P4=backlog)
string
default:"task"
Issue type:
bug, feature, task, epic, chore, decision. Aliases: feat→feature, dec/adr→decisionstring
Assign issue to user
string[]
Comma-separated labels. Repeatable flag.
Extended Fields
string
Design notes and technical approach
string
Acceptance criteria for completion
string
Additional notes and context
string
Link to specification document
integer
Time estimate in minutes (e.g., 60 for 1 hour)
Dependencies
string[]
Dependencies in format
type:id or just id for blocks type. Examples: blocks:bd-20, discovered-from:bd-15string
Parent issue ID for hierarchical child (e.g.,
bd-abc). Creates parent-child dependency automatically.string
Spawner issue ID to wait for (creates waits-for dependency for fanout gate)
string
default:"all-children"
Gate type:
all-children (wait for all) or any-children (wait for first)Time Scheduling
string
Due date/time. Formats:
+6h, +1d, +2w, tomorrow, next monday, 2025-01-15string
Defer until date (issue hidden from
bd ready until then). Same formats as --dueAdvanced Options
string
Explicit issue ID (e.g.,
bd-42 for partitioning)string
Create issue in a different rig (e.g.,
--rig beads)string
Create issue in rig by prefix (e.g.,
--prefix bd- or --prefix beads)string
Set custom metadata (JSON string or
@file.json to read from file)boolean
Create as ephemeral (short-lived, subject to TTL compaction)
boolean
Preview what would be created without actually creating
boolean
Output only the issue ID (for scripting)
boolean
Output JSON for agent use
Examples
Basic Creation
Time-Based Scheduling
Hierarchical Issues
Cross-Rig Creation
Special Characters in Descriptions
Bulk Creation
JSON Output
With--json flag:
Validation
Template Validation
Use--validate to enforce issue type templates:
Prefix Validation
Explicit IDs must match database prefix:Best Practices
For Agents
- Always use
--jsonfor programmatic parsing - Add
--silentwhen only the ID is needed - Use
--deps discovered-from:parent-idto link discovered work - Set
--prioritybased on urgency and impact
For Humans
- Write descriptive titles that summarize the issue
- Include context in the description (why, not just what)
- Add labels for categorization and filtering
- Link dependencies to track blocking relationships
Warnings
The CLI will warn you about:- Creating issues without descriptions
- Test issues in production database
- Defer dates in the past
- Creating child of non-existent parent
Related Commands
bd update- Modify existing issuesbd show- View issue detailsbd dep add- Add dependencies after creationbd list- Search for similar issues