Skip to main content

PT-577 initiative-scoped Epic picker options for the task-detail Epic field

GET 

/api/projects/:id/epic-options

PT-577 initiative-scoped Epic picker options for the task-detail Epic field. Returns every EPIC in the current project PLUS every EPIC tagged to an initiative this project participates in (PT-447 Initiative → Epic membership, unioned with the legacy project-containment FK), across the other projects in the tenant. Cross-project epics are bounded to the caller readable-project set so an unreadable epic is never offered (PT-283 — omitted, not sentinelled); a tenant-wide epic list is out of scope. Requires the same epic-list read gate as the project-scoped minimal listing (full-scope tasks.read | gates.create | gates.update). The cross-project expansion additionally needs full tasks.read + projects.read (or .own) + an active membership, and degrades gracefully to same-project epics when that is missing rather than 403ing. Options carry projectName / isCrossProject / initiativeName so the picker can group by project (current project first).

Request

Responses

Successful response