Magidoc

createBoxes
Mutation

Creates several boxes at once and turns the slice into a board (sets the slice's boardView flag to true) - the "create board" flow. One box is created per entry in titles, positioned in list order; a box titled exactly "Done" is automatically flagged done: true (the board's done column). The standard board uses ["Not Started", "In Progress", "Done"], but any titles are accepted.

Fails with not_allowed when the slice is already a board with existing boxes, or when the caller lacks permission to create todos in the slice's project. Returns the created boxes. To add a single box use createBox.

Arguments

#

moveTodos

When true, all loose todos on the slice are moved into the created box titled exactly "Not Started"; if no box has that title, nothing is moved.

sliceId

Non-null

titles

[String !]!
Non-null

Ordered box labels. "Done" gets the done flag; "Not Started" is the moveTodos target.

Response

#

Returns [Box ].

Example

#