ZenTao Project Management API Integration | 禅道-ZenTao 项目管理 API 集成。Query products, projects, executions, stories, tasks, bugs / 查询产品、项目、执行、需求、任务、缺陷等。Triggers: 禅道,zentao, project management
首先,感谢禅道团队多年的深耕与付出。没有你们孜孜不倦的耕耘和维护,就没有这款优秀的项目管理工具。禅道作为国内领先的开源项目管理解决方案,帮助无数团队提升了协作效率,这份贡献值得我们致以最诚挚的敬意。🙏
English Version | 英文版 (Primary)
Chinese Version | 中文版 (Below)
This skill integrates both legacy ZenTao API and REST API, providing unified project management query interfaces.
Prerequisites:
Install Dependencies:
# Option 1: Using requirements.txt (recommended)
pip3 install -r requirements.txt
# Option 2: Manual install
pip3 install requests beautifulsoup4
ZenTao API credentials are stored in the TOOLS.md file:
## 禅道 API (ZenTao API)
- **API URL:** http://<your-zentao-host>/
- **Username:** <your-username>
- **Password:** <your-password>
⚠️ Security Notice: Do not commit API credentials to version control or share them publicly.
Query Product List
ZenTao product list
Query all products in ZenTao
zentao products
Query Project List
ZenTao project list
Query active projects
zentao projects status=doing
Query Stories List
ZenTao stories project=<project-name>
Query stories for product=<your-product-name>
Query Tasks List
ZenTao tasks execution=<execution-id>
Query tasks for project=<your-project-name>
Query Bugs List
ZenTao bugs product=<product-name>
Query bugs for product=<your-product-name>
Create Story (Requires Confirmation)
ZenTao create story product=<product-name> execution=<execution-id> title=[New Feature] Test story plan=<date>
Create Task (Requires Confirmation)
ZenTao create task execution=<execution-id> story=<story-id> title=Development task assign=<username>
User
Program
Product
Project
Execution
Task
Bug
Build
Test Case
Test Task
Feedback
Ticket
User Management
Program Management
Product Management
Project Management
Execution Management
Bug Management
Test Management
Feedback & Ticket
REST API (Preferred)
/api.php/v1/Legacy API (Compatibility)
/api-*.jsonProduct List
✅ ZenTao product query completed
Found N products:
| ID | Product Name |
|----|--------------|
| 21 | <Your Product Name> |
| ... | ... |
Project List
✅ ZenTao project query completed
Found N projects:
| ID | Project Name | Status |
|----|--------------|--------|
| 176 | <Your Project Name> | doing |
| ... | ... | ... |
本技能整合禅道老 API 和 REST API,提供统一的项目管理查询接口。
前置要求:
安装依赖:
# 方式 1:使用 requirements.txt(推荐)
pip3 install -r requirements.txt
# 方式 2:手动安装
pip3 install requests beautifulsoup4
禅道 API 凭证存储在 TOOLS.md 文件中:
## 禅道 API
- **API 地址:** http://<your-zentao-host>/
- **用户名:** <your-username>
- **密码:** <your-password>
⚠️ 安全提醒: 不要将 API 凭证提交到版本控制或公开分享。
查询产品列表
禅道产品列表
查询禅道所有产品
zentao products
查询项目列表
禅道项目列表
查询进行中的项目
zentao projects status=doing
查询需求列表
禅道需求列表 项目=<项目名称>
查询禅道需求 产品=<你的产品名称>
查询任务列表
禅道任务列表 执行=<执行 ID>
查询禅道任务 项目=<你的项目名称>
查询缺陷列表
禅道缺陷列表 产品=<产品名称>
查询禅道 bug 产品=<你的产品名称>
新建需求(需要确认)
禅道新建需求 产品=<产品名称> 执行=<执行 ID> 标题=【新功能】测试需求 计划=<日期> 版本
新建任务(需要确认)
禅道新建任务 执行=<执行 ID> 需求=<需求 ID> 标题=开发任务 指派=<用户名>
注意: 参数中的数字 ID(如产品 ID、执行 ID、需求 ID 等)可以直接使用对应的名称替代,系统会自动识别。 例如:
产品=21可以写成产品=IDS_投资决策支持系统
用户 User
项目集 Program
产品 Product
项目 Project
执行 Execution
任务 Task
缺陷 Bug
版本 Build
用例 TestCase
测试单 TestTask
反馈 Feedback
工单 Ticket
用户管理
项目集管理
产品管理
项目管理
执行管理
缺陷管理
测试管理
反馈与工单
REST API (优先使用)
/api.php/v1/老 API (兼容模式)
/api-*.json产品列表
✅ 禅道产品查询完成
共查询到 N 个产品:
| ID | 产品名称 |
|----|---------|
| 21 | <你的产品名称> |
| ... | ... |
项目列表
✅ 禅道项目查询完成
共查询到 N 个项目:
| ID | 项目名称 | 状态 |
|----|---------|------|
| 176 | <你的项目名称> | doing |
| ... | ... | ... |
MIT-0 · MIT No Attribution
Free to use, modify, and redistribute. No attribution required.
免费使用、修改和重新分发。无需署名。