PT-514 project-org-scoped Initiative picker options for the task-detail Initiative field (PT-493)
GET/api/projects/:id/initiatives
PT-514 project-org-scoped Initiative picker options for the task-detail Initiative field (PT-493). Returns the initiatives in the PROJECT’S org — the org the task PATCH validates initiativeId picks against (validateInitiativeMembership) — rather than the caller’s active org, so the picker offers a valid option set on a cross-org project detail (INF-143 multi-org). The initiative-picker analogue of /api/projects/{id}/epic-options. Requires project read access plus full-scope initiatives.read evaluated against the project’s org. GUEST members of that org see only initiatives containing projects they collaborate on (plus initiatives they are delegated on). Options are the minimal { id, name } picker shape, sorted by name.
Request
Responses
- 200
- 400
- 401
- 403
Successful response
Bad Request — the path project id is not a valid UUID
Unauthorized — authentication credentials are missing or invalid
Forbidden — the caller cannot read the project (non-existent and forbidden projects collapse to a uniform 403), or lacks full-scope initiatives.read in the project’s org