Magidoc

updateProject
Mutation

Update an existing project. title and workspaceId are required on every call even when unchanged — pass the project's current values when changing other fields. Writable fields: title, description, workspaceId, stackId, closed, closedStatus, tags, startDate, and endDate. recipeId is accepted for compatibility but ignored: a project's recipe link cannot be changed after creation.

Passing a different workspaceId moves the project to that workspace (allowed only into workspaces where the caller can create projects); the project's tasks move along with it and assignees are added to the target workspace as needed. stackId must reference a stack in the project's (target) workspace. closed and closedStatus are stored independently; keep them consistent (for example closedStatus: "closed" together with closed: true). title must not contain a URL.

Requires project update permission: workspace "admin" role, project "admin"/"admin+autoassign" assignment, or "stack_admin" on the project's stack. The returned project object carries only id and workspaceId; re-query project to read the full updated state. For single-field changes prefer the dedicated mutations: updateProjectEndDate, updateProjectTotalBudget, updateProjectDataFields, updateProjectSharing, setProjectDot, setProjectPriority.

Arguments

#

closed

closedStatus

Allowed values for closedStatus: "open", "hold", "closed".

description

endDate

id

Non-null

recipeId

stackId

startDate

tags

title

Non-null

workspaceId

Non-null

Response

#

Returns Project .

Example

#