Skip to main content

Syntax

sudocode issue list [options]

Description

The issue list command displays all issues in your project. You can filter by status, assignee, priority, search content, control archive visibility, and limit results. By default, the command:
  • Shows up to 50 issues
  • Excludes archived issues
  • Displays issues with their ID, status, title, priority, and assignee
  • Color-codes status for easy scanning
Use --status to filter by workflow state, --grep for full-text search, or --assignee to see work assigned to specific agents or users.

Options

-s, --status
string
Filter by issue statusExample: --status in_progressValid statuses:
  • open - Ready to be worked on
  • in_progress - Currently being worked on
  • blocked - Waiting on dependencies
  • needs_review - Implementation complete, awaiting review
  • closed - Work completed
-a, --assignee
string
Filter by assignee name or agent IDExample: --assignee "alice" or --assignee "agent-backend-dev"Shows only issues assigned to the specified user or agent.
-p, --priority
number
Filter by priority level (0-4)Example: --priority 0Only shows issues with the specified priority:
  • 0 - Critical
  • 1 - High
  • 2 - Medium
  • 3 - Low
  • 4 - Lowest
-g, --grep
string
Search issues by title or contentExample: --grep "authentication"Performs a full-text search across issue titles and content. Case-insensitive by default.
--archived
boolean
Filter by archive statusExample: --archived true or --archived false
  • false (default) - Exclude archived issues
  • true - Show only archived issues
  • Omit to see all issues regardless of archive status
--limit
number
default:"50"
Maximum number of results to returnExample: --limit 100Useful for large projects with many issues. Increase to see more results.

Examples

List All Issues (Default)

Show all non-archived issues (up to 50):
sudocode issue list
Found 5 issue(s):

ISSUE-001 [open] Implement login endpoint
  Priority: 1

ISSUE-002 [in_progress] Fix token expiration bug @alice
  Priority: 0

ISSUE-003 [blocked] Add password reset flow
  Priority: 2

ISSUE-004 [needs_review] Unit tests for auth service @agent-testing
  Priority: 2

ISSUE-005 [closed] Database schema setup @bob
  Priority: 1
Status is color-coded:
  • 🟢 Green: closed
  • 🟡 Yellow: in_progress
  • 🔴 Red: blocked
  • ⚪ Gray: open, needs_review

Filter by Status

Show only issues currently in progress:
sudocode issue list --status in_progress
Found 2 issue(s):

ISSUE-002 [in_progress] Fix token expiration bug @alice
  Priority: 0

ISSUE-010 [in_progress] Implement OAuth flow @agent-backend
  Priority: 1

Filter by Assignee

Show all issues assigned to a specific user:
sudocode issue list --assignee "alice"
Found 3 issue(s):

ISSUE-002 [in_progress] Fix token expiration bug @alice
  Priority: 0

ISSUE-007 [open] Add rate limiting @alice
  Priority: 1

ISSUE-012 [needs_review] Security audit @alice
  Priority: 1

Filter by Priority

Show only critical (priority 0) issues:
sudocode issue list --priority 0
Found 2 issue(s):

ISSUE-002 [in_progress] Fix token expiration bug @alice
  Priority: 0

ISSUE-008 [open] Database migration
  Priority: 0

Search with Grep

Search for issues containing “auth”:
sudocode issue list --grep "auth"
Found 4 issue(s):

ISSUE-001 [open] Implement login endpoint
  Priority: 1

ISSUE-004 [needs_review] Unit tests for auth service @agent-testing
  Priority: 2

ISSUE-010 [in_progress] Implement OAuth flow @agent-backend
  Priority: 1

ISSUE-015 [open] Add multi-factor authentication
  Priority: 2

Show Open Issues Only

View all open issues ready to be claimed:
sudocode issue list --status open
Found 3 issue(s):

ISSUE-001 [open] Implement login endpoint
  Priority: 1

ISSUE-008 [open] Database migration
  Priority: 0

ISSUE-015 [open] Add multi-factor authentication
  Priority: 2

Show Blocked Issues

Identify issues waiting on dependencies:
sudocode issue list --status blocked
Found 1 issue(s):

ISSUE-003 [blocked] Add password reset flow
  Priority: 2
Use sudocode issue show ISSUE-003 to see what’s blocking it.

Combine Filters

Show high-priority open issues:
sudocode issue list --status open --priority 1
Found 1 issue(s):

ISSUE-001 [open] Implement login endpoint
  Priority: 1

Search for Unassigned Work

Find open issues without an assignee:
sudocode issue list --status open
Then look for issues without @assignee in the output.

Show Closed Issues

Review completed work:
sudocode issue list --status closed
Found 3 issue(s):

ISSUE-005 [closed] Database schema setup @bob
  Priority: 1

ISSUE-020 [closed] Initial project setup @alice
  Priority: 0

ISSUE-025 [closed] Documentation @charlie
  Priority: 3

Increase Result Limit

Show up to 200 issues:
sudocode issue list --limit 200
Useful for large projects with many issues.

JSON Output

Use the global --json flag for machine-readable output:
sudocode --json issue list --status open --priority 1
[
  {
    "id": "ISSUE-001",
    "title": "Implement login endpoint",
    "status": "open",
    "priority": 1,
    "assignee": null,
    "content": "Create REST endpoint for user login...",
    "created_at": "2025-10-29T10:00:00Z",
    "updated_at": "2025-10-29T15:30:00Z",
    "closed_at": null,
    "parent_id": null,
    "archived": false
  }
]

Common Workflows

Finding Ready Work

Identify issues ready to be worked on:
1

List open issues

sudocode issue list --status open
2

Or use ready command

sudocode ready
This shows open issues without blockers, sorted by priority.
3

Claim an issue

sudocode issue update ISSUE-001 --status in_progress --assignee "your-name"

Tracking Your Work

See all issues assigned to you:
1

View your issues

sudocode issue list --assignee "your-name"
2

Filter by status

sudocode issue list --assignee "your-name" --status in_progress
3

Review details

sudocode issue show ISSUE-002

Daily Standup

Quick overview of project status:
1

What's in progress?

sudocode issue list --status in_progress
2

What's blocked?

sudocode issue list --status blocked
3

What's completed today?

sudocode issue list --status closed

Sprint Planning

Organize work by priority:
1

Critical work

sudocode issue list --priority 0 --status open
2

High priority work

sudocode issue list --priority 1 --status open
3

Assign to team

sudocode issue update ISSUE-001 --assignee "alice"
sudocode issue update ISSUE-002 --assignee "bob"

Filtering Logic

Important: When multiple filters are specified, they work as AND conditions. All filters must match for an issue to appear in results.
Examples:
# Shows issues with status=open AND priority=1
sudocode issue list --status open --priority 1

# Shows issues assigned to alice AND containing "auth"
sudocode issue list --assignee "alice" --grep "auth"

# Shows open issues with priority 0, assigned to bob (up to 100)
sudocode issue list --status open --priority 0 --assignee "bob" --limit 100

Understanding Output

The default output format shows:
ISSUE-ID [status] Title @assignee
  Priority: N

Issue ID

Unique identifier (e.g., ISSUE-001)

Status

Current workflow state (color-coded)

Title

Descriptive issue name

Assignee

Who’s working on it (if assigned)

Priority

0-4 priority level

Common Questions

By default, issue list:
  • Limits to 50 results (use --limit to increase)
  • Excludes archived issues (use --archived false to explicitly exclude, or omit to see all)
Try:
sudocode issue list --limit 1000
List issues and look for entries without @assignee:
sudocode issue list --status open
For programmatic filtering, use JSON output:
sudocode --json issue list | jq '.[] | select(.assignee == null)'
  • --grep searches in the title and content (full-text search)
  • --status filters by exact workflow state
Example:
# Find issues mentioning "login" in any state
sudocode issue list --grep "login"

# Find open issues (regardless of content)
sudocode issue list --status open

# Find open issues mentioning "login"
sudocode issue list --status open --grep "login"
Not directly with issue list. However, you can use grep to search for tags in content, or use JSON output with jq:
sudocode --json issue list | jq '.[] | select(.tags | contains(["auth"]))'
Use issue show to see hierarchical relationships:
sudocode issue show ISSUE-001
This will display parent and child issues in the relationship section.
  • open: Status of the issue - it’s not yet started
  • ready: Issue is open AND has no blocking dependencies
Use sudocode ready to find truly ready work (open + unblocked).

Performance Tips

For large projects with hundreds of issues, consider these optimizations:
1

Use specific filters

Narrow results with --status, --priority, or --assignee instead of listing everything
2

Use grep for targeted searches

Search for specific keywords rather than retrieving all issues:
sudocode issue list --grep "auth"
3

Use JSON for scripting

JSON output is efficient for programmatic processing:
sudocode --json issue list --status open | jq '.[] | .id'

Troubleshooting

Cause: No .sudocode/ directory foundSolution:
sudocode init
Possible causes:
  1. Issues are archived: sudocode issue list --archived false (default excludes archived)
  2. Issues don’t match filters: Remove filters to see all
  3. Database not synced: Run sudocode sync
Solution:
# Try listing with no filters
sudocode issue list --limit 1000
Cause: Ensure status value is validSolution: Valid statuses: open, in_progress, blocked, needs_review, closed
sudocode issue list --status in_progress
Cause: Search term might not match title or contentSolution:
  • Try broader search terms
  • Check issue content with sudocode issue show ISSUE-ID
  • Verify spelling

Next Steps

1

List your issues

sudocode issue list
2

Filter to find work

sudocode issue list --status open --priority 1
3

View issue details

sudocode issue show ISSUE-001
4

Start working

sudocode issue update ISSUE-001 --status in_progress --assignee "you"

Issues Concept Guide

Learn more about issues and how they fit into sudocode’s workflow