gid |
String |
Globally unique identifier of the resource, as a string. |
[optional] [readonly] |
resourceType |
String |
The base type of this resource. |
[optional] [readonly] |
name |
String |
Name of the task. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |
[optional] |
resourceSubtype |
String |
The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. The resource_subtype `milestone` represent a single moment in time. This means tasks with this subtype cannot have a start_date. |
[optional] |
approvalStatus |
String |
Conditional Reflects the approval status of this task. This field is kept in sync with `completed`, meaning `pending` translates to false while `approved`, `rejected`, and `changes_requested` translate to true. If you set completed to true, this field will be set to `approved`. |
[optional] |
assigneeStatus |
String |
Deprecated Scheduling status of this task for the user it is assigned to. This field can only be set if the assignee is non-null. Setting this field to "inbox" or "upcoming" inserts it at the top of the section, while the other options will insert at the bottom. |
[optional] |
completed |
Boolean |
True if the task is currently marked complete, false if not. |
[optional] |
completedAt |
Date |
The time at which this task was completed, or null if the task is incomplete. |
[optional] [readonly] |
completedBy |
UserCompact |
|
[optional] |
createdAt |
Date |
The time at which this resource was created. |
[optional] [readonly] |
dependencies |
[AsanaResource] |
Opt In. Array of resources referencing tasks that this task depends on. The objects contain only the gid of the dependency. |
[optional] [readonly] |
dependents |
[AsanaResource] |
Opt In. Array of resources referencing tasks that depend on this task. The objects contain only the ID of the dependent. |
[optional] [readonly] |
dueAt |
Date |
The UTC date and time on which this task is due, or null if the task has no due time. This takes an ISO 8601 date string in UTC and should not be used together with `due_on`. |
[optional] |
dueOn |
Date |
The localized date on which this task is due, or null if the task has no due date. This takes a date with `YYYY-MM-DD` format and should not be used together with `due_at`. |
[optional] |
external |
TaskBaseAllOfExternal |
|
[optional] |
htmlNotes |
String |
Opt In. The notes of the text with formatting as HTML. |
[optional] |
hearted |
Boolean |
Deprecated - please use liked instead True if the task is hearted by the authorized user, false if not. |
[optional] [readonly] |
hearts |
[Like] |
Deprecated - please use likes instead Array of likes for users who have hearted this task. |
[optional] [readonly] |
isRenderedAsSeparator |
Boolean |
Opt In. In some contexts tasks can be rendered as a visual separator; for instance, subtasks can appear similar to sections without being true `section` objects. If a `task` object is rendered this way in any context it will have the property `is_rendered_as_separator` set to `true`. |
[optional] [readonly] |
liked |
Boolean |
True if the task is liked by the authorized user, false if not. |
[optional] |
likes |
[Like] |
Array of likes for users who have liked this task. |
[optional] [readonly] |
memberships |
[TaskBaseAllOfMemberships] |
Create-only. Array of projects this task is associated with and the section it is in. At task creation time, this array can be used to add the task to specific sections. After task creation, these associations can be modified using the `addProject` and `removeProject` endpoints. Note that over time, more types of memberships may be added to this property. |
[optional] [readonly] |
modifiedAt |
Date |
The time at which this task was last modified. Note: This does not currently reflect any changes in associations such as projects or comments that may have been added or removed from the task. |
[optional] [readonly] |
notes |
String |
Free-form textual information associated with the task (i.e. its description). |
[optional] |
numHearts |
Number |
Deprecated - please use likes instead The number of users who have hearted this task. |
[optional] [readonly] |
numLikes |
Number |
The number of users who have liked this task. |
[optional] [readonly] |
numSubtasks |
Number |
Opt In. The number of subtasks on this task. |
[optional] [readonly] |
startAt |
Date |
Date and time on which work begins for the task, or null if the task has no start time. This takes an ISO 8601 date string in UTC and should not be used together with `start_on`. Note: `due_at` must be present in the request when setting or unsetting the `start_at` parameter. |
[optional] |
startOn |
Date |
The day on which work begins for the task , or null if the task has no start date. This takes a date with `YYYY-MM-DD` format and should not be used together with `start_at`. Note: `due_on` or `due_at` must be present in the request when setting or unsetting the `start_on` parameter. |
[optional] |
assignee |
UserCompact |
|
[optional] |
assigneeSection |
SectionCompact |
|
[optional] |
customFields |
[CustomFieldResponse] |
Array of custom field values applied to the task. These represent the custom field values recorded on this project for a particular custom field. For example, these custom field values will contain an `enum_value` property for custom fields of type `enum`, a `text_value` property for custom fields of type `text`, and so on. Please note that the `gid` returned on each custom field value is identical to the `gid` of the custom field, which allows referencing the custom field metadata through the `/custom_fields/custom_field-gid` endpoint. |
[optional] [readonly] |
followers |
[UserCompact] |
Array of users following this task. |
[optional] [readonly] |
parent |
TaskCompact |
|
[optional] |
projects |
[ProjectCompact] |
Create-only. Array of projects this task is associated with. At task creation time, this array can be used to add the task to many projects at once. After task creation, these associations can be modified using the addProject and removeProject endpoints. |
[optional] [readonly] |
tags |
[TagCompact] |
Array of tags associated with this task. In order to change tags on an existing task use `addTag` and `removeTag`. |
[optional] [readonly] |
workspace |
WorkspaceCompact |
|
[optional] |
permalinkUrl |
String |
A url that points directly to the object within Asana. |
[optional] [readonly] |