@zzp123/mcp-zentao 1.18.0 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -197,15 +197,18 @@ export class ZentaoAPI {
197
197
  }
198
198
  if (fields === 'basic') {
199
199
  // 基本信息:只返回最核心的字段
200
+ // 注意:移除了 assignedTo(因为 getMyBugs 固定查询指派给我的 Bug,该字段无信息价值)
201
+ // 新增:statusName(中文状态名)、deadline(截止日期)
200
202
  return {
201
203
  id: bug.id,
202
204
  title: bug.title,
203
205
  status: bug.status,
206
+ statusName: bug.statusName,
204
207
  pri: bug.pri,
205
208
  severity: bug.severity,
206
- assignedTo: bug.assignedTo,
207
209
  openedBy: bug.openedBy,
208
- openedDate: bug.openedDate
210
+ openedDate: bug.openedDate,
211
+ deadline: bug.deadline
209
212
  };
210
213
  }
211
214
  // default: 默认字段(适合列表展示)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zzp123/mcp-zentao",
3
- "version": "1.18.0",
3
+ "version": "1.18.1",
4
4
  "description": "禅道项目管理系统的高级API集成包 - 完整版,包含所有94个工具。另有产品经理、测试工程师、开发工程师专用精简版本可选",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",