52 lines
1.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: data-export.project.howto
title: 导出任务统计(按成员)
type: howto
feature: data-export
scope: admin
locale: zh
aliases:
- 导出任务统计
- 项目数据导出
- 怎么导出成员任务
- 按成员导出任务
- 任务工时导出
related_tools: []
related_pages: [application]
prerequisites:
- 需要系统管理员权限
negative:
- 单次导出最多 100 个成员,超出请分批
- 时间范围限制最大 90 天
- 不支持导出整个项目的所有任务(必须按成员筛选)
- 不支持选择字段,导出列固定
last_verified: v1.7.90
---
# 导出任务统计(按成员)
## 入口
桌面端:左侧栏「应用」→「数据导出」(仅管理员可见)→「导出任务统计」。
对应 API`GET api/project/task/export`
## 操作步骤
1. 进入「数据导出」→ 选「导出任务统计」
2. 选择成员(最多 100 个)
3. 选择时间范围(最多 90 天)
4. 选择导出时间类型:
- 「任务计划时间」(默认):按任务 start_at/end_at 筛选,对无计划时间但在该范围内完成的任务用 complete_at 兜底
- 「任务创建时间」:仅按 created_at 筛选
5. 点击「导出」,立即返回;文件由系统机器人 `system-msg` 私聊推送
## 导出字段
固定 17 列:任务 ID、父任务 ID、所属项目、标题、标签、计划开始/结束、完成时间、归档时间、计划用时、实际用时、超时时间、开发用时、验收/测试用时、负责人、创建人、状态。
## 拿到下载链接后
- 链接是限时的,缓存失效后需要重新触发导出
- 直接点击或在浏览器打开下载 Excel 文件
## 不支持
- 不支持单次导出超过 100 个成员或超过 90 天的范围
- 不支持按项目维度直接导出(只能选成员)
- 不支持定时导出 / 自定义字段