CRITICAL — Before starting, you MUST first use the Read tool to read ../zentao-shared/SKILL.md, which contains authentication, environment variable configuration, error handling, and general options descriptions.
Commands
ticket list— List ticketsticket get— Get ticket detailsticket create— Create ticketticket update— Modify ticketticket delete— Delete ticket
Core Concepts
- Ticket: A functional module in ZenTao used to handle user problem reports.
- Ticket type: Distinguished by the
typefield to differentiate different types of tickets. - Ticket status: Indicates the current handling status of the ticket.
- Severity: Indicated by the
severityfield to represent the severity of the ticket. - Priority: Indicated by the
prifield to represent the handling priority of the ticket.
Ticket Severity Levels
| Level | Name | Description |
|---|---|---|
| 1 | Critical | Urgent - System crash or functionality completely unavailable |
| 2 | Major | Important - Major functionality failure |
| 3 | Normal | Normal - Ordinary problem |
| 4 | Minor | Minor - Minor problem |
Common Use Cases
1. View all tickets
# 列出所有工单
zentao-cli ticket list
2. View details of a specific ticket
# 获取工单详情
zentao-cli ticket get 1
Examples
# 列出所有工单
zentao-cli ticket list
# 获取工单详情
zentao-cli ticket get 1
Output Fields
| Field | Type | Description |
|---|---|---|
| id | u64 | Ticket ID |
| title | string | Ticket title |
| type | string | Ticket type |
| status | string | Ticket status |
| pri | u8 | Priority |
| severity | u8 | Severity |
Gotchas
-
Ticket vs Feedback: Tickets are usually used to handle problems that need to be solved, while Feedback is more used to collect user opinions.
-
Severity vs Priority: severity indicates the severity of the problem, pri indicates the handling priority.
-
Status flow: Tickets have clear status flow rules, set according to actual business needs.