Create a new ticket within an epic following the Product as Code specification
Creates a new ticket within an epic following the Product as Code specification
/plugin marketplace add davepoon/buildwithclaude/plugin install all-commands@buildwithclaudeSpecify ticket detailsCreate a new ticket within an epic following the Product as Code specification
Validate PAC Environment
.pac/ directory exists.pac/pac.config.yaml/project:pac-configure$ARGUMENTSEpic Selection
--epic <epic-id> provided, validate epic exists.pac/epics/:
Ticket Information Gathering
--name <name>: Ticket name--type <type>: feature/bug/task/spike--description <desc>: Ticket description--assignee <assignee>: Assigned developer--priority <priority>: low/medium/high/criticalGenerate Ticket ID
ticket-[epic-short-name]-[sequence]ticket-auth-001, ticket-auth-002Define Acceptance Criteria
acceptance_criteria:
- [ ] User can successfully authenticate
- [ ] Session persists across page refreshes
- [ ] Invalid credentials show error message
Define Implementation Tasks
tasks:
- [ ] Create authentication service
- [ ] Implement login form component
- [ ] Add session management
- [ ] Write unit tests
- [ ] Update documentation
Create Ticket Structure
apiVersion: productascode.org/v0.1.0
kind: Ticket
metadata:
id: "[generated-ticket-id]"
sequence: [number]
name: "[Ticket Name]"
epic: "[parent-epic-id]"
created: "[timestamp]"
updated: "[timestamp]"
assignee: "[assignee]"
labels:
component: "[relevant-component]"
effort: "[size-estimate]"
spec:
description: |
[Detailed description]
type: "[feature/bug/task/spike]"
status: "[backlog/in-progress/review/done]"
priority: "[low/medium/high/critical]"
acceptance_criteria:
- [ ] [Criterion 1]
- [ ] [Criterion 2]
tasks:
- [ ] [Task 1]
- [ ] [Task 2]
technical_notes: |
[Any technical considerations]
dependencies:
- [Other ticket IDs if any]
Estimate Effort
Link to Epic
spec:
tickets:
- id: "[ticket-id]"
name: "[ticket-name]"
status: "backlog"
assignee: "[assignee]"
Save Ticket File
.pac/tickets/[ticket-id].yaml.pac/epics/[epic-id]/tickets/[ticket-id].yamlCreate Branch (Optional)
--create-branch flag or git integration enabled:
feature/[ticket-id]Generate Ticket Summary
git checkout -b feature/[ticket-id]/project:pac-update-ticket --id [ticket-id] --status in-progresscat .pac/tickets/[ticket-id].yaml--epic <epic-id>: Parent epic ID (required)--name <name>: Ticket name--type <type>: Ticket type (feature/bug/task/spike)--description <description>: Ticket description--assignee <assignee>: Assigned developer--priority <priority>: Priority level--create-branch: Automatically create git branch--template <template>: Use custom ticket template/project:pac-create-ticket --epic epic-authentication
/project:pac-create-ticket --epic epic-payment --name "Implement Stripe integration" --type feature
/project:pac-create-ticket --epic epic-ui --assignee jane@example.com --priority high --create-branch