Skip to content

Reports

Reports provide project-level analytics and data export capabilities for tracking progress and team performance.

API Endpoints

MethodPathDescription
GET/api/projects/:id/reportProject report with task statistics
GET/api/projects/:id/export/csvExport tasks as CSV file

Project Report

The project report endpoint returns aggregate statistics:

  • Total tasks by status (todo, in_progress, in_review, done, cancelled)
  • Task completion rate
  • Tasks by priority
  • Tasks by assignee
  • Overdue tasks count
  • Time tracking summary (total estimated vs. logged)

CSV Export

Exports all project tasks as a CSV file with columns:

  • ID, Title, Status, Priority, Assignee, Due Date, Created, Sprint, Tags
  • Estimated minutes, logged minutes
  • Custom field values

Frontend

typescript
const store = useReportsStore()

await store.fetchProjectReport(projectId)
await store.exportCsv(projectId)