Magidoc

updateStack
Mutation

Updates a Stack identified by id. This is a full-state update: title and workspaceId are required on every call, and the optional description and closed values are written as given — omitting them clears the stored values — so always resend the current values you want to keep.

Passing a different workspaceId moves the Stack to that Workspace and reassigns every Project in the Stack to the new Workspace in the same operation. Setting closed: true marks the Stack as done/archived for list views; setting closed: false reopens it.

The calling user must be an admin of the Stack's Workspace or a Stack admin assigned to the Stack; otherwise the mutation fails with "not_allowed" ("not_found" for an unknown id). Returns the updated Stack. Stack Admin assignments cannot be changed here — they are only settable at creation via createStack.

Arguments

#

closed

true marks the Stack done/archived; false reopens it.

description

Omitting this clears the stored description.

id

Non-null

title

Non-null

workspaceId

Non-null

Target Workspace; changing it moves the Stack and all its Projects there.

Response

#

Returns Stack .

Example

#