AssignmentInput Input Object
The assignment input type.
Fields
#
pending
Ignored on input. pending is computed server-side from the caller's project role; resolve it with approveAssignment or denyAssignment.
role
The project permission. The app calls it a permission; this API field is named "role" only for historical reasons, and it is not a person's role such as Developer (see associateRole). Values: "admin" (Project Admin ticked), "admin+autoassign" (Project Admin with the auto-assign option), "member" (neither box ticked, Needs-Approval to add other members), "member+invite" (neither box ticked, Pre-Approved to add other members), "only_my_work" (Limit To See Only Assigned Tasks ticked), "stack_admin" (a stack's admin). When assigning someone to a task who is already on the project, this is ignored and their project permission stays as it is. Optional then; a person new to the project becomes a "member" when it is left out.
userEmail
Email address of the user being assigned, instead of userId. It must belong to an existing person; with an organization access token, a member of the token's organization. Nobody is invited.
Usages
#
References
#
- Argument assignment of field createAssignment from type RootMutationType
- Argument assignment of field deleteAssignment from type RootMutationType
- Argument assignment of field updateAssignment from type RootMutationType
AssignmentChangeItem
AssignmentResult
