Move task
Move a task to a different workspace.
/ v1 / tasks / {id} / move
Authorization
Path parameters
-
The ID of the task.
Body
application/json
- assigneeIdstring
The user id the task should be assigned to.
-
The id of the workspace to which you want the task moved.
Response
200 - application/json - object
-
The ID of the task.
-
The name of the task.
-
The HTML contents of the description.
- durationstring | number
An integer greater than 0 (representing minutes), "NONE", or "REMINDER".
- dueDatedatetime
When is the task due.
-
Values are HARD, SOFT (default) or NONE.
-
If this is an instance of a recurring task, this field will be the parent recurring task id.
-
Whether the task is completed or not.
- completedTimedatetime
The timestamp when the task was completed.
- updatedTimedatetime
The timestamp when the task was last updated.
- startOnstring
Date indicating when a task should start, in YYYY-MM-DD format.
-
The user who created the task.
- projectobject
The project data.
-
The ID of the project.
-
The name of the project.
-
The HTML contents of the description.
-
The ID of the workspace.
- statusobject
The status of the project.
- namestring
The name of the status.
- isDefaultStatusboolean
Whether this status is a default status for the workspace.
- isResolvedStatusboolean
Whether this is a resolved (terminated) status for the workspace.
-
- createdTimedatetime
The timestamp when the project was created.
- updatedTimedatetime
The timestamp when the project was last updated.
- customFieldValuesrecord<object>
Record of custom field values for the entity, where each key is the name of the custom field (not the ID). Each object contains a "type" discriminator and a "value" property that varies based on the field type.
- textobject
Text custom field value.
- numberobject
Number custom field value.
- urlobject
URL custom field value.
- dateobject
Date custom field value.
- selectobject
Select custom field value.
- multiSelectobject
Multi-select custom field value.
- personobject
Person custom field value.
- multiPersonobject
Multi-person custom field value.
- emailobject
Email custom field value.
- phoneobject
Phone custom field value.
- checkboxobject
Checkbox custom field value.
-
-
-
The workspace data.
-
The ID of the workspace.
-
The name of the workspace.
-
The ID of the team.
-
Whether the workspace is a team or individual type.
-
An array of labels.
- namestring
The name of the label.
-
-
An array of statuses for the workspace.
- namestring
The name of the status.
- isDefaultStatusboolean
Whether this status is a default status for the workspace.
- isResolvedStatusboolean
Whether this is a resolved (terminated) status for the workspace.
-
-
-
The status of the The status of the task.
- namestring
The name of the status.
- isDefaultStatusboolean
Whether this status is a default status for the workspace.
- isResolvedStatusboolean
Whether this is a resolved (terminated) status for the workspace.
-
-
Valid options are ASAP, HIGH, MEDIUM, or LOW.
-
An array of labels.
- namestring
The name of the label.
-
-
An array of assignees.
- scheduledStartdatetime
The time that motion has scheduled this task to start.
-
The time that the task was created.
- scheduledEnddatetime
The time that motion has scheduled this task to end.
-
Returns true if Motion was unable to schedule this task. Check Motion directly to address.
- lastInteractedTimedatetime
The timestamp when the task was last interacted with.
- customFieldValuesrecord<object>
Record of custom field values for the entity, where each key is the name of the custom field (not the ID). Each object contains a "type" discriminator and a "value" property that varies based on the field type.
- textobject
Text custom field value.
- numberobject
Number custom field value.
- urlobject
URL custom field value.
- dateobject
Date custom field value.
- selectobject
Select custom field value.
- multiSelectobject
Multi-select custom field value.
- personobject
Person custom field value.
- multiPersonobject
Multi-person custom field value.
- emailobject
Email custom field value.
- phoneobject
Phone custom field value.
- checkboxobject
Checkbox custom field value.
-
- chunksarray<object>
Array of scheduling chunks for the task.
- idstring
The ID of the chunk.
- durationnumber
The duration of the chunk in minutes.
- scheduledStartdatetime
The scheduled start time of the chunk.
- scheduledEnddatetime
The scheduled end time of the chunk.
- completedTimedatetime
The time when the chunk was completed.
- isFixedboolean
Whether the chunk is fixed or not.
-