juechafun/20260209-备忘-工具技巧-cnb构建更新issue失败.md

67 lines
1019 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
#领域/未知
#复盘/0 #Bug/碎片 #临时/备忘 #状态/待处理
## 一句话描述
[____cnb api 更新 issue 在创建中失败____]
---
## 基础元信息
影响范围:[__构建_____]
## 缺陷记录
### 前置条件
```bash
curl --request PATCH \
  --url https://api.cnb.cool/juechafun/maixcam-race-2026/-/issues/6 \
  --header 'Accept: application/vnd.cnb.api+json' \
  --header 'Authorization: 6CVgBoa1fccIRQXIBcABLps0anB' \
  --header 'Content-Type: application/json' \
  --data '{
    "assignees": ["xinpingqihe"],
    "state": "open",
    "state_reason": "not_planned",
    "invisible": false
    }'
```
[__使用 cnb 构建______]
### 复现步骤
1. [__构建时发送 curl______]
2. [________]
3. [________]
### 实际发生结果
[___error 5_____]
### 期望结果
[__issue被正常更新______]
### 排查建议
1. [_________]
### 根因分析
[________]
### 验证依据
[________]
# 知识沉淀
`Alt + N` 创建 [[模板-觉察知识-知识沉淀]]