This directory contains template files demonstrating the canonical # TICKET: schema for various use cases.
File: quick-story.md
Purpose: Basic ticket template for simple stories or tasks
When to use:
- Creating standalone stories
- Simple bug reports
- Quick tasks without complex hierarchy
Key features:
- Minimal required fields
- Clean structure
- Easy to customize
File: epic-template.md
Purpose: Large initiatives with multiple child stories/tasks
When to use:
- Planning major features spanning multiple sprints
- Organizing related work items
- Managing complex projects
Key features:
- Epic-level metadata
- Child ticket organization
- Hierarchical structure
File: sprint-template.md
Purpose: Sprint planning with multiple tickets
When to use:
- Planning sprint backlogs
- Organizing iteration work
- Batch ticket creation
Key features:
- Multiple tickets in one file
- Sprint-level organization
- Consistent formatting
File: pull-with-subtasks-example.md
Purpose: Demonstrates pulling tickets with subtasks from Jira using JQL queries
When to use:
- Understanding how subtasks appear in pulled Markdown files
- Learning round-trip workflow (pull → edit → push → pull)
- Working with hierarchical ticket structures
Key features:
- Subtask structure in Markdown output
- Field values for parent tickets and subtasks
- Round-trip workflow demonstration
- Common use cases (sprint planning, epic management, team review)
- Technical notes on field mapping and error handling
cp examples/quick-story.md tickets/PROJ-123.mdEdit the file to match your specific requirements:
- Update ticket ID (e.g.,
PROJ-123) - Add description and acceptance criteria
- Set issue type, status, assignee
- Add tasks or subtasks as needed
- Validate with
ticketr push --dry-run - Push with
ticketr push tickets/PROJ-123.md
All templates must include:
# TICKET:header with ticket ID and title- Valid issue type (Story, Bug, Task, Epic, etc.)
Customize based on your needs:
- Description
- Acceptance Criteria
- Status
- Assignee
- Sprint
- Epic Link
- Story Points
- Labels
- Custom fields
- Use
# TICKET:(not# STORY:) for the main header - Use
## TASK:for child tasks - Use
**Field Name:**for metadata fields - Maintain consistent indentation
For complete schema specification, see:
- docs/development/REQUIREMENTS.md - Schema requirements
- README.md - Quick Start and Templates sections
To create your own templates:
- Start with an existing template
- Add/remove fields based on your workflow
- Test with
ticketr push --dry-run - Save in your project's templates directory
- Share with your team
# TICKET: PROJ-456 Bug title here
**Issue Type:** Bug
**Priority:** High
**Status:** Open
**Assignee:** developer@example.com
**Description:**
[Describe the bug]
**Steps to Reproduce:**
1. [Step 1]
2. [Step 2]
**Expected Behavior:**
[What should happen]
**Actual Behavior:**
[What actually happens]
**Environment:**
- OS: [e.g., Ubuntu 22.04]
- Browser: [e.g., Chrome 120]
- Version: [e.g., v1.2.3]Ticketr 1.x requires # TICKET: headings. Files created before the 1.0 release that still use # STORY: must be updated manually before use.
- CLI Help:
ticketr help - Push/Pull:
ticketr push --help,ticketr pull --help