Magidoc

copyAction
Mutation

Copy/duplicate an action including its subactions, attachments, approval rounds, and dependencies. Returns the newly created action.

Arguments

#

actionId

ID !
Non-null

The ID of the action to duplicate

shouldAddCopySign

Non-null

Whether to append '(copy)' to the duplicated action's title

assigneeForSubaction

User IDs to assign as assignees on copied subactions (empty array keeps original assignees)

isPlaceholdersAssignee

Non-null

Whether the assigneeForSubaction values are placeholder IDs rather than user IDs

lowestRank

Place the copied action at the lowest rank (bottom of list). Defaults to false (top of list)

projectId

Optional target project ID. When provided, copies the action into a different project and clears project-specific fields (sections, phases)

Response

#

Returns Action .

Example

#