Ticket template management with pre-defined tasks.
Manages reusable ticket templates that define a standard
subject, description, priority, type, and a set of tasks.
When a ticket is created from a template, all template
tasks are automatically added to the new ticket.
| Column | Type | Description |
|---|---|---|
| Guid | char(50) | Primary key |
| TemplateName | varchar(255) | Unique name per package |
| Package | char(255) | Package context |
| Subject | varchar(500) | Default subject |
| Description | text | Default description |
| Priority | enum | CRITICAL, HIGH, MEDIUM, LOW, INFO |
| TicketType | enum | USER, INTERNAL, BUG, FEATURE |
| Active | char(2) | Y/N |
| CreatedDate | datetime | When created |
| Column | Type | Description |
|---|---|---|
| Guid | char(50) | Primary key |
| TemplateGuid | char(50) | Parent template |
| TaskName | varchar(500) | Task name |
| Description | text | Task description |
| Rank | int | Display order |
| CreatedDate | datetime | When created |
Read(template_name, package) - Load by name and packageReadByGuid(guid) - Load by guidCreate(template_name, package, subject, ...) - Create templateadd_task(template_guid, task_name, description, rank) - Add task definitionget_templates(package) - List active templatesget_template_tasks(template_guid) - List task definitionscreate_from_template(template_name, requested_by, ...) - Create ticket with taskspython factory.core/ObjTicketTemplate.py list-templates --package CORE
ObjTicket.py - Parent ticket orchestrator (deferred import)ObjTicketTask.py - Task management