Files
Claude-Code-Workflow/.claude/commands/workflow/issue/update.md
catlog22 2c3e04b6fc refactor: Standardize command naming conventions and remove parent relationships
Updates all command files to use consistent naming without parent field:
- Remove parent field from all command frontmatter
- Standardize name field to use simple names instead of prefixed names
- Fix usage patterns for brainstorm commands to use proper workflow namespace
- Add new medium-project-update.sh script for batch updates

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 15:06:06 +08:00

3.2 KiB

name, description, usage, examples
name description usage examples
update Update an existing workflow issue /workflow:issue:update <issue-id> [changes]
/workflow:issue:update ISS-001
/workflow:issue:update ISS-001 --priority=critical
/workflow:issue:update ISS-001 --status=closed

Update Workflow Issue (/workflow:issue:update)

Purpose

Modify attributes and status of an existing workflow issue.

Usage

/workflow:issue:update <issue-id> [options]

Quick Updates

Simple attribute changes:

/workflow:issue:update ISS-001 --priority=critical
/workflow:issue:update ISS-001 --status=closed
/workflow:issue:update ISS-001 --blocking
/workflow:issue:update ISS-001 --type=bug

Interactive Mode (Default)

Without options, opens interactive editor:

Issue ISS-001: Add OAuth2 social login support
Current Status: Open | Priority: High | Type: Feature

What would you like to update?
1. Status (open → closed/integrated)
2. Priority (high → critical/medium/low)  
3. Type (feature → bug/optimization/etc)
4. Description
5. Add comment
6. Toggle blocking status
7. Cancel

Choice: _

Available Updates

Status Changes

  • openclosed: Issue resolved
  • openintegrated: Linked to workflow task
  • closedopen: Reopen issue
  • integratedopen: Unlink from tasks

Priority Levels

  • critical: Urgent, blocking progress
  • high: Important, should address soon
  • medium: Standard priority
  • low: Nice-to-have, can defer

Issue Types

  • bug: Something broken that needs fixing
  • feature: New functionality to implement
  • optimization: Performance or efficiency improvement
  • refactor: Code structure improvement
  • documentation: Documentation updates

Additional Options

  • blocking/non-blocking: Whether issue blocks progress
  • description: Update issue description
  • comments: Add notes and updates

Update Process

Validation

  • Verifies issue exists in current session
  • Checks valid status transitions
  • Validates priority and type values

Change Tracking

  • Records update timestamp
  • Tracks who made changes
  • Maintains change history

File Updates

  • Updates ISS-XXX.json file
  • Refreshes issue-registry.json
  • Updates session statistics

Change History

Maintains audit trail:

{
  "changes": [
    {
      "timestamp": "2025-09-08T10:30:00Z",
      "field": "priority",
      "old_value": "high",
      "new_value": "critical",
      "reason": "Security implications discovered"
    }
  ]
}

Integration Effects

Task Integration

When status changes to "integrated":

  • Links to workflow task (optional)
  • Updates task context with issue reference
  • Creates bidirectional linking

Session Updates

  • Updates session issue statistics
  • Refreshes TodoWrite if applicable
  • Updates workflow progress tracking

Output

Shows:

  • What was changed
  • Before and after values
  • Integration status
  • Available next actions

Error Handling

  • Issue not found: Lists available issues
  • Invalid status: Shows valid transitions
  • Permission errors: Clear error messages
  • File corruption: Validates and repairs

Result: Issue successfully updated with change tracking and integration