Magidoc

BulkInsertActionInput
Input Object

Fields

#

_id

Optional caller-generated action ID for optimistic insertion or retry-safe automation. Reuse the same ID for the same source entry. An existing ID is never overwritten: a repeated insert fails. After an uncertain result, use getActions with specificIds to reconcile before retrying with the same ID. Omit for ordinary action creation.

actionViewId

The action view id of the action. Only include if needed. Do not pass empty string.

assignees

[ID !]

The assignees of the action. Only include if assigning to specific users. Do not pass empty array.

attachments

The attachments of the action

deadline

The deadline of the action. Only include if setting a specific deadline. Do not pass empty string.

description

The description of the action in HTML format

isRisk

Whether the action is in risk and issues action view

labels

[ID !]

The labels of the action. Only include if applying specific labels. Do not pass empty array. Ids that are not live labels of the workspace are left out; if none remain, the action gets no labels.

layout

Optional action card visibility. Pass hiddenSections to hide card sections (e.g. description). Subactions copy their parent's layout when omitted.

mailMessages

Mail messages to attach to the action during creation

markdownDescription

The description of the action in Markdown format. Converted to HTML before storage. Ignored if 'description' is also provided.

noteIds

[ID ]

The note ids of the action

parent

The id of the parent action. Only include if creating a subaction. Do not pass empty string.

phaseId

The phase id of the action. Only include if assigning to a specific phase. Do not pass empty string.

priorityLevelId

The priority level id of the action. Only include if setting a specific priority. Do not pass empty string.

privacy

The privacy of the action

projectId

The project id of the action. Only include if assigning to a specific project.

projectSectionId

The project section id of the action

rank

The rank of the action. Used for sorting actions in the UI. Could be negative. The higher the number, the lower the rank.

scheduledDate

The scheduled date of the action. Only include if setting a specific start date. Do not pass empty string.

sectionIds

[ID !]

The section ids of the action

status

The status of the action. Only include if different from default. Do not pass empty string.

Default: "Unstarted"

teamAssignee

The team assignee of the action. Only include if assigning to a team. Do not pass empty string.

timeCategoryId

Optional time category id for the action

title

Non-null

The title of the action (required)

urgent

Whether the action is urgent

workspace

ID !
Non-null

The workspace id of the action (required)

Usages

#

References

#

  • Argument actions of field bulkInsertActions from type Mutation