Sprint Endpoints
Manage agile sprints β create sprints, assign tasks, track sprint employees, and manage sprint lifecycle.
Base Pathβ
/api/organization-sprint
Endpointsβ
List All Sprintsβ
GET /api/organization-sprint
Authorization: Bearer {token}
Query Parameters (JSON-encoded data):
| Parameter | Type | Description |
|---|---|---|
findInput | object | Filter conditions |
relations | array | Relations to include |
Get Sprint by IDβ
GET /api/organization-sprint/:id
Authorization: Bearer {token}
Create Sprintβ
POST /api/organization-sprint
Authorization: Bearer {token}
Content-Type: application/json
{
"name": "Sprint 1",
"projectId": "uuid",
"organizationId": "uuid",
"startDate": "2024-03-01",
"endDate": "2024-03-15",
"goal": "Complete user authentication module",
"length": 14,
"dayStart": 1,
"status": "TODO"
}
Response 201 Created.
Update Sprintβ
PUT /api/organization-sprint/:id
Authorization: Bearer {token}
Content-Type: application/json
{
"status": "IN_PROGRESS",
"goal": "Updated sprint goal"
}
Response 202 Accepted.
Delete Sprintβ
DELETE /api/organization-sprint/:id
Authorization: Bearer {token}
Sprint Statusesβ
| Status | Description |
|---|---|
TODO | Planned, not started |
IN_PROGRESS | Currently active |
DONE | Completed |
Data Modelβ
interface IOrganizationSprint {
id: string;
name: string;
goal?: string;
length: number;
startDate?: Date;
endDate?: Date;
dayStart?: number;
status?: SprintStatusEnum;
// Relations
projectId: string;
project?: IOrganizationProject;
tasks?: ITask[];
members?: IOrganizationSprintEmployee[];
organizationId: string;
tenantId: string;
}
interface IOrganizationSprintEmployee {
sprintId: string;
employeeId: string;
roleInSprint?: string;
}
interface IOrganizationSprintTask {
sprintId: string;
taskId: string;
totalWorkedHours?: number;
}
Permissionsβ
| Action | Required Permission |
|---|---|
| View sprints | ALL_ORG_VIEW or ORG_SPRINT_VIEW |
| Create sprints | ALL_ORG_EDIT or ORG_SPRINT_ADD |
| Update sprints | ALL_ORG_EDIT or ORG_SPRINT_EDIT |
| Delete sprints | ALL_ORG_EDIT or ORG_SPRINT_DELETE |
Related Pagesβ
- Project Endpoints β project management
- Task Endpoints β task management
- Sprints Feature β feature overview