Magidoc

sliceTodos
Mutation

Returns the tasks (Todos) in the given Project-Slices that the calling user is permitted to view. Visibility follows the parent Project's access rule: the user must be a workspace admin or viewer, or a workspace member with an assignment to the Project (or a stack_admin role on its parent Stack). Slice ids belonging to Projects the user cannot view — or to deleted Slices or Projects — are silently omitted from the result rather than raising an error.

A user holding the "only_my_work" role on a Project receives only the tasks assigned to them, plus parent tasks of their assigned subtasks — the same scope they see on the Project board. An Organization Access Token receives every task in the Slices. Soft-deleted tasks are excluded; completed tasks are included (filter client-side on progress if you only want open work).

Slice ids from different Projects may be mixed in a single call; the response is a flat [Todo] list across Projects. Group results after the fact via each Todo's sliceId (or slice { projectId } for the parent Project). No ordering is guaranteed — sort client-side on the position field if a stable order is needed.

Use this query for the task lists of specific Slices; use projectTodos for the full task list of a Project. This query is for Project-Slices only; Recipe-Slice contents are retrieved through the Recipe type.

Arguments

#

sliceIds

[Int !]!
Non-null

Response

#

Returns [Todo ].

Example

#