Syntax
Description
Theissue create command creates a new issue in your sudocode project. Issues are the second tier in sudocode’s abstraction structure, capturing how to implement what specs define.
When you create an issue, sudocode:
- Generates a unique issue ID (e.g.,
ISSUE-001,ISSUE-002) - Stores the issue in the SQLite database with status
open - Exports to JSONL for version control
- Applies any tags and assignee you specify
Arguments
"Implement OAuth 2.0 token endpoint"The title should be clear and action-oriented. Use verb phrases like “Implement X”, “Fix Y”, or “Add Z”.Options
--priority 1Priority levels:- 0 - Critical (highest priority)
- 1 - High
- 2 - Medium (default)
- 3 - Low
- 4 - Lowest
--description "Create REST endpoint for OAuth token exchange"This becomes the content of the issue. You can provide detailed information, acceptance criteria, or implementation notes.--assignee "agent-backend-dev"Can be an agent ID, username, or any identifier for who should work on this issue.--parent ISSUE-001Use this to create subtasks under a parent issue (epic), enabling hierarchical organization of work.--tags "backend,api,auth"Tags help with filtering and organizing issues. Use commas to separate multiple tags (no spaces).Examples
Basic Issue Creation
Create a simple issue with default priority:Expected output
Expected output
- Issue ID:
ISSUE-001 - Status:
open - Priority: 2 (default)
- No assignee
Issue with Description and Priority
Create a high-priority issue with detailed description:Expected output
Expected output
Issue with Assignee
Create an issue and assign it immediately:Expected output
Expected output
Subtask (Child Issue)
Create a subtask under a parent issue:Expected output
Expected output
Issue with Tags
Create an issue with multiple tags:Expected output
Expected output
Complete Issue with All Options
Create a fully-specified issue:Expected output
Expected output
After Creating an Issue
After creating your issue, you can:Link to Spec
View Issue Details
Update Status
Create Dependencies
Issue Lifecycle
Issues progress through these statuses:open (default)
in_progress
blocked
needs_review
closed
sudocode issue update to change status as work progresses.
Common Workflows
Creating Issues from a Spec
Review the spec
Create implementation issues
Link issues to spec
Model dependencies
Creating an Epic with Subtasks
Create the epic
Create subtasks
Assign subtasks
Bug Report to Issue
Create bug issue
Assign immediately
Link to spec if applicable
JSON Output
Use the global--json flag for machine-readable output:
JSON output
JSON output
Common Questions
Can I change the issue ID after creation?
Can I change the issue ID after creation?
What's the difference between an issue and a spec?
What's the difference between an issue and a spec?
Can I create an issue without linking to a spec?
Can I create an issue without linking to a spec?
implements relationships, it’s not required. Bug fixes and chores often don’t need specs.How do I claim an issue for myself?
How do I claim an issue for myself?
issue update to set yourself as assignee:Can I have nested epics (parent of parent)?
Can I have nested epics (parent of parent)?
Troubleshooting
Error: sudocode not initialized
Error: sudocode not initialized
.sudocode/ directory foundSolution:Error: Invalid priority value
Error: Invalid priority value
Error: Parent issue not found
Error: Parent issue not found
Issue created but I can't find it
Issue created but I can't find it
Related Commands
issue list
issue show
issue update
issue close
link
ready
Next Steps
Create your first issue
Link to a spec
Start working on it
Complete and close

