assignment Query
Fetch a single assignment record by id. An assignment is the link between a
user and a task or a project in Pie, carrying the user's role on the
target, optional planned hours, billing rate overrides, work effort, and a
pending flag indicating the assignment still awaits approval by a project
or workspace admin (see approveAssignment and denyAssignment).
Use this query when you already know the assignment id; to list
assignments for a project's tasks, request the assignments field on each
Todo returned by projectTodos instead.
Returns null when the id does not exist or the caller may not manage
the assignment: access requires being a workspace admin, a project
admin (role "admin" or "admin+autoassign"), or, for todo
assignments, a user assigned to that todo. Stack-level
("stack_admin") assignments are not retrievable through this query.
Arguments
#
Response
#
Returns Assignment .
