Magidoc

Assignment
Object

An Assignment links a user to a unit of work: a todo, a project (project membership), or a stack. role applies to project- and stack-level assignments — one of "admin", "admin+autoassign", "member", "member+invite", "only_my_work", or "stack_admin". pending is set server-side when the creating caller's own project role is "member" or "only_my_work"; such assignments stay pending until a project or workspace admin resolves them with approveAssignment or denyAssignment. plannedHours, workEffort, hourlyBillingRate, and hourlyInternalRate support planning and rate reporting; redistributed marks assignments whose workEffort was set by automatically splitting the todo's work effort. Fetched by the assignment query and nested under Project.assignments, Stack.assignments, User.assignments, and Todo.assignments; managed with createAssignment, updateAssignment, and deleteAssignment, which return AssignmentResult rather than a bare Assignment.

Fields

#

hourlyBillingRate

Billing rate. Requires persisted billing_rates permission plus an eligible organization/workspace role or admin rights on the assignment's current project. Workspace-user defaults require an eligible organization/workspace role. Browser/MCP have no admin or self exemption from the checkbox. Organization-owned PATs may read both categories within their organization. Otherwise null.

hourlyInternalRate

Internal rate. Requires persisted internal_rates permission independently of billing_rates, plus an eligible organization/workspace role or admin rights on the assignment's current project. Workspace-user defaults require an eligible organization/workspace role. Browser/MCP have no admin or self exemption from the checkbox. Organization-owned PATs may read both categories within their organization. Otherwise null.

id

insertedAt

Non-null

jiraAccountId

notificationSent

pending

plannedHours

project

projectId

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).

todo

todoId

user

userId

workEffort

workEffortCustomized

Usages

#

References

#