Magidoc

AssignmentInput
Input Object

The assignment input type.

Fields

#

assignmentIds

[Int ]

List of assignment ids for bulk delete actions.

hourlyBillingRate

Override billing rate in cents.

hourlyInternalRate

Override internal rate in cents.

id

Assignment identifier. Use "new" when creating.

pending

Ignored on input. pending is computed server-side from the caller's project role; resolve it with approveAssignment or denyAssignment.

plannedHours

Planned hours allocated to the assignee.

projectId

Project being assigned.

redistributed

Whether work effort was redistributed.

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.

sliceId

Slice used for bulk assignment create/delete actions.

stackId

Stack being assigned.

todoId

Todo being assigned.

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.

userId

User being assigned.

workEffort

Work effort override in hours.

workEffortCustomized

Whether work effort was manually customized.

Usages

#

References

#