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

preserveNoteLinks

Keep live linked notes the acting user can access on the copied root action. Defaults to false

assigneeForSubaction

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

isPlaceholdersAssignee

Non-null

Placeholder reassignment is not supported reliably for unassigned subactions. Use false until the legacy copy behavior is fixed

lowestRank

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

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

#