Magidoc

insertAction
Mutation

Used to create new actions and subactions

Access: Requires user access as well as workspace ID and project ID access.

Errors: Throws error if user does not have access to workspace or project.

Arguments

#

_id

title

Non-null

Title of the action

description

Description of the action

status

Status of the action

assignees = []

[ ID !]

Assignees of the action

placeholderAssignees = []

[ ID !]

Placeholder assignees of the action

teamAssignee

Team assignee of the action

labels = [ "none" ]

[ ID !]

Labels for this action

projectId

Project ID for this action

phaseId

Phase ID for this action

priorityLevelId

Priority level ID for this action

deadline

Deadline for this action

scheduledDate

Start date for this action

newAction

noteIds

[ ID ]

sectionIds

[ ID !]

Optional sectionIds for this action

privacy

urgent

parentId

Optional parent ID for this action if inserting as a subaction

workspace

Workspace ID for this action

actionViewId

Action view ID for this action

isRisk

estimates

Optional estimated time for this action

insertOrder

Optional insert order for this action

attachments = []

Optional attachments for this action

rank

Optional rank for this action

isAutomated

preserveUTC

Optional flag to preserve UTC date

type

Optional flag to set risk and issue type

Response

#

Returns Action .

Example

#

    
  

3

    
  

3

    
  

3