@@ -128,7 +128,7 @@ Ticket system initialized.
128128Create a new ticket.
129129
130130```
131- .claude/scripts/dso ticket create <ticket_type> <title> [parent_id ]
131+ .claude/scripts/dso ticket create <ticket_type> <title> [--parent <id>] [--priority <n>] [--assignee <name> ]
132132```
133133
134134** Arguments:**
@@ -137,14 +137,16 @@ Create a new ticket.
137137| ---| ---| ---|
138138| ` ticket_type ` | Yes | One of: ` bug ` , ` epic ` , ` story ` , ` task ` |
139139| ` title ` | Yes | Non-empty title string (≤ 255 characters for Jira sync compatibility) |
140- | ` parent_id ` | No | ID of an existing parent ticket |
140+ | ` --parent ` | No | ID of an existing parent ticket |
141+ | ` --priority ` | No | Priority 0-4 (0=critical, 4=backlog; default: 2) |
142+ | ` --assignee ` | No | Assignee name (default: git config user.name) |
141143
142144** Output:** Prints the generated ticket ID to stdout (e.g., ` ab12-cd34 ` ). No other output on success.
143145
144146** Behavior:**
145147
146148- Generates a collision-resistant 8-character ID (format: ` xxxx-xxxx ` ) derived from a UUID4
147- - Validates that ` parent_id ` exists and has a CREATE event before writing
149+ - Validates that ` --parent ` ticket exists and has a CREATE event before writing
148150- Writes a ` CREATE ` event JSON file to ` .tickets-tracker/<ticket_id>/ `
149151- Commits the event atomically to the tickets branch
150152- The new ticket has status ` open ` by default
@@ -162,7 +164,7 @@ Create a new ticket.
162164$ .claude/scripts/dso ticket create task "Add rate limiting to API"
163165w21-a3f7
164166
165- $ .claude/scripts/dso ticket create story "As a user, I can reset my password" w21-a3f7
167+ $ .claude/scripts/dso ticket create story "As a user, I can reset my password" --parent w21-a3f7
166168w21-b9c2
167169```
168170
0 commit comments