Skip to content

LeoYeAI/agent-master-skills / skills/andonq

腾讯云 AndonQ 腾讯云技术服务专家 — 不切窗口、不排队,即刻获得腾讯云全产品线专业解答。支持工单查询(列表/详情/流水)、创建工单(自动匹配产品分类)、集团工单与需求单管理、腾讯云全产品线智能问答,以及通过 tccli 调用腾讯云任意云 API(如 CVM、CBS、CAM 等)。当用户查询工单、查看工单详情、创建工单、咨询腾讯云产品问题(如 CVM、轻量应用服务器、COS 等)、查询集团工单/需求单、要求找人工客服、或需要调用腾讯云 API 进行资源管理操作时使用。

references/DescribeTicket.md

View on GitHub
# DescribeTicket — 查看工单详情

## 触发词

- "集团工单详情"、"组织工单详情"、"查看成员工单"
- "organization ticket detail"、"describe ticket"

## 请求参数

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `TicketId` | String | **是** | — | 工单 ID |
| `Region` | String | — | `ap-guangzhou` | 自动注入,无需手动传入 |
| `UinType` | Integer | 否 | — | 维度类型:`0` 集团维度 / `1` 企业维度 |

## 示例命令

```bash
# 查询工单详情
python3 {baseDir}/scripts/andon-api.py -a DescribeTicket -d '{"TicketId":"5678"}'

# 指定企业维度
python3 {baseDir}/scripts/andon-api.py -a DescribeTicket -d '{"TicketId":"5678","UinType":1}'
```

## 成功响应

```json
{
  "success": true,
  "action": "DescribeTicket",
  "data": {
    "TicketId": "5678",
    "Uin": 100001234,
    "ServiceChannel": 1,
    "ServiceChannelDisplay": "官网",
    "CreateTime": "2026-03-20 10:30:00",
    "CurrentOperator": "support_001",
    "CurrentOperatorDisplay": "张三",
    "LastStaff": "support_001",
    "LastStaffDisplay": "张三",
    "LastOperateTime": "2026-03-21 09:00:00",
    "Status": 1,
    "StatusDisplay": "处理中",
    "ExternStatus": 1,
    "ExternStatusDisplay": "处理中",
    "CompanyId": "comp_001",
    "CompanyDisplay": "某某公司",
    "Question": "CVM 实例 ins-xxx 无法启动,控制台显示异常状态",
    "Title": "CVM 实例无法启动",
    "ServiceSceneChecked": "云服务器",
    "QCloudTicketId": "QC202603201234",
    "OwnerUin": 100001234,
    "LtcId": "ltc_001",
    "PointId": "point_001",
    "Priority": 0,
    "CustomName": "某某公司",
    "QuestionStartTime": "2026-03-20 09:00:00",
    "QuestionEndTime": "",
    "CloseTime": "",
    "ServiceSceneNameList": ["云服务器", "实例管理"]
  },
  "requestId": "xxx"
}
```

> **注意**:`Data` 可能返回 `null`,需做空值判断。

## Priority 优先级映射

| Priority 值 | 显示 |
|-------------|------|
| -1 | L1 |
| 0 | L2 |
| 1 | L3 |
| 2 | L4 |

## 响应字段说明

| 字段 | 类型 | 说明 |
|------|------|------|
| `TicketId` | String | 工单 ID |
| `Uin` | Integer | 用户 UIN |
| `ServiceChannel` | Integer | 服务渠道 |
| `ServiceChannelDisplay` | String | 服务渠道显示名 |
| `CreateTime` | String | 创建时间 |
| `CurrentOperator` | String | 当前处理人 |
| `CurrentOperatorDisplay` | String | 当前处理人显示名 |
| `LastStaff` | String | 最后处理客服 |
| `LastStaffDisplay` | String | 最后处理客服显示名 |
| `LastOperateTime` | String | 最后操作时间 |
| `Status` | Integer | 状态码 |
| `StatusDisplay` | String | 状态显示名 |
| `ExternStatus` | Integer | 外部状态码 |
| `ExternStatusDisplay` | String | 外部状态显示名 |
| `CompanyId` | String | 公司 ID |
| `CompanyDisplay` | String | 公司显示名 |
| `Question` | String | 问题描述 |
| `Title` | String | 工单标题 |
| `ServiceSceneChecked` | String | 服务场景 |
| `QCloudTicketId` | String | 腾讯云工单 ID |
| `OwnerUin` | Integer | 工单所有者 UIN |
| `LtcId` | String | LTC ID |
| `PointId` | String | Point ID |
| `Priority` | Integer | 优先级,见 Priority 映射表 |
| `CustomName` | String | 客户名称 |
| `QuestionStartTime` | String | 问题开始时间 |
| `QuestionEndTime` | String | 问题结束时间 |
| `CloseTime` | String | 关闭时间 |
| `ServiceSceneNameList` | String[] | 服务场景名称列表 |

## 展示规则

工单详情**分段展示**基本信息 + 问题描述:

```
🎫 工单详情 — 5678

标题:CVM 实例无法启动
状态:处理中
优先级:L2
UIN:100001234
公司:某某公司
服务渠道:官网
服务场景:云服务器、实例管理
创建时间:2026-03-20 10:30:00
最后操作时间:2026-03-21 09:00:00
当前处理人:张三

问题描述:
CVM 实例 ins-xxx 无法启动,控制台显示异常状态
```

- 分段展示基本信息 + 问题描述
- `Priority` 按映射表显示为 L1/L2/L3/L4
- `Data` 为 `null` 时提示用户工单不存在或无权查看

## 常见错误

| 错误码 | 含义 | 解决方案 |
|--------|------|----------|
| `OperationDenied.OrganizationManagerVerifyFailed` | 集团管理员验证失败 | 确认账号具备集团管理员权限 |
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall