exportItems
Export stories, bugs, or test cases from ZenTao to a file. Supports filtering by ID, module, keyword, date range, and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 单个导出:指定要导出的ID(storyId/bugId/testCaseId) | |
| url | No | 批量导出(模块):模块链接URL,例如:product-browse-245--byModule-1377.html | |
| type | Yes | 导出类型:story(需求)、bug(Bug)、testcase(测试用例) | |
| limit | No | 批量导出数量限制(默认100条) | |
| status | No | 状态过滤(可选),根据type不同支持不同状态 | |
| endDate | No | 结束时间(可选),格式:YYYY-MM-DD 或自然语言。例如:'2024-12-31'、'今年'、'今年12月'、'今天'等 | |
| keyword | No | 批量导出(搜索):搜索关键字,支持中英文,会在标题和描述中搜索 | |
| moduleId | No | 模块ID(可选),用于模块导出 | |
| productId | No | 产品ID(可选),用于搜索或模块导出 | |
| startDate | No | 开始时间(可选),格式:YYYY-MM-DD 或自然语言。例如:'2024-01-01'、'今年'、'今年1月'、'最近3个月'等 | |
| exportPath | Yes | 导出文件路径(必填,建议使用绝对路径),例如:D:/exports/story_2709.md 或 D:/exports/stories.md | |
| productName | No | 产品名称(可选),用于搜索 |