Skip to main content

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: featfeature, dec/adrdecision
string
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-15
string
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-15
string
Defer until date (issue hidden from bd ready until then). Same formats as --due

Advanced 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

Markdown format:

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

  1. Always use --json for programmatic parsing
  2. Add --silent when only the ID is needed
  3. Use --deps discovered-from:parent-id to link discovered work
  4. Set --priority based on urgency and impact

For Humans

  1. Write descriptive titles that summarize the issue
  2. Include context in the description (why, not just what)
  3. Add labels for categorization and filtering
  4. 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