Documentation Index
Fetch the complete documentation index at: https://docs.sudocode.ai/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Description
Theissue update command allows you to modify properties of an existing issue. Common updates include:
- Changing status as work progresses
- Updating priority
- Assigning/reassigning to team members or agents
- Modifying title or description
- Archiving completed or abandoned work
- Changes are written to the SQLite database
- Changes are exported to JSONL for version control
- The
updated_attimestamp is automatically set - If status changes to
closed,closed_attimestamp is set
Arguments
ISSUE-001The issue must exist in your project.Options
--status in_progressValid statuses:open- Ready to be worked onin_progress- Currently being worked onblocked- Waiting on dependenciesneeds_review- Implementation complete, awaiting reviewclosed- Work completed
--priority 0Priority levels:- 0 - Critical (highest)
- 1 - High
- 2 - Medium
- 3 - Low
- 4 - Lowest
--assignee "alice" or --assignee "agent-backend"Can be a username, agent ID, or any identifier. Use empty string to unassign: --assignee ""--title "Fix critical OAuth bug"Changes the display title of the issue.--description "Updated implementation details"This replaces the content of the issue.--archived true or --archived falseArchived issues are hidden from default listings but retained for reference.Examples
Claim an Issue
Assign yourself and mark as in progress:Expected output
Expected output
Change Priority
Elevate to critical:Expected output
Expected output
Mark as Blocked
Update status when blocked:Expected output
Expected output
Reassign to Another Team Member
Transfer ownership:Expected output
Expected output
Unassign an Issue
Remove assignee:Expected output
Expected output
Update Multiple Fields
Change status, priority, and assignee together:Expected output
Expected output
Update Title
Rename an issue:Expected output
Expected output
Update Description
Replace content:Expected output
Expected output
Archive an Issue
Mark as archived (hidden from default views):Expected output
Expected output
Unarchive an Issue
Restore an archived issue:Expected output
Expected output
Status Transitions
Issues typically flow through statuses in this order:Common Status Transitions
open → in_progress
open → in_progress
in_progress → needs_review
in_progress → needs_review
needs_review → closed
needs_review → closed
open/in_progress → blocked
open/in_progress → blocked
blocked → in_progress
blocked → in_progress
closed → open (reopen)
closed → open (reopen)
JSON Output
Use the global--json flag for machine-readable output:
JSON output
JSON output
Common Workflows
Agent Claiming Work
Implementing a Feature
Handling Blocked Work
Reassigning Work
Bulk Updates with Scripting
Update multiple issues programmatically:Update Behavior
What Gets Updated
When you runissue update:
- Database - SQLite database is updated immediately
- JSONL - Changes are exported to
issues.jsonlfor version control - Timestamps -
updated_atis set to current time - Closed timestamp - If status changes to
closed,closed_atis set
What Doesn’t Change
- Issue ID - Immutable, cannot be changed
- Creation timestamp -
created_atnever changes - Relationships - Use
linkcommand to manage relationships - Parent - Use
--parentoption on create, or update database directly - Tags - Currently no CLI option (edit JSONL or database directly)
Common Questions
Can I update multiple issues at once?
Can I update multiple issues at once?
issue update works on one issue at a time. For bulk updates, use shell scripting with loops:What's the difference between closing and archiving?
What's the difference between closing and archiving?
- Closing (
--status closed) marks work as complete, normal workflow state - Archiving (
--archived true) hides the issue from default listings, used for abandoned or obsolete work
How do I change the parent issue?
How do I change the parent issue?
parent_id. Options:- Edit the JSONL file directly and run
sudocode sync - Use the database directly
- Create a new issue with the correct parent
Will updating status notify anyone?
Will updating status notify anyone?
updated_at timestamp.Can I change the issue ID?
Can I change the issue ID?
What happens to relationships when I update an issue?
What happens to relationships when I update an issue?
issue update. They persist regardless of changes to status, priority, assignee, or other properties.Troubleshooting
Error: Issue not found
Error: Issue not found
Error: Invalid status value
Error: Invalid status value
Error: Invalid priority value
Error: Invalid priority value
Update succeeded but nothing changed
Update succeeded but nothing changed

