SuperAPI AI Directory

zentao-ticket

Office & productivity

View repository

Updated 10-15 22:37

About this skill

ticket (v1)

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

Core Concepts

  • Ticket: A functional module in ZenTao used to handle user problem reports.
  • Ticket type: Distinguished by the type field to differentiate different types of tickets.
  • Ticket status: Indicates the current handling status of the ticket.
  • Severity: Indicated by the severity field to represent the severity of the ticket.
  • Priority: Indicated by the pri field 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

  1. Ticket vs Feedback: Tickets are usually used to handle problems that need to be solved, while Feedback is more used to collect user opinions.

  2. Severity vs Priority: severity indicates the severity of the problem, pri indicates the handling priority.

  3. Status flow: Tickets have clear status flow rules, set according to actual business needs.