Command To-dos

A to-do is a checklist item on a Command ticket. Behind it is an Asana subtask of the ticket with the Command to-do custom type.

CommandTodo

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
namestringThe name of the to-do.
workspaceobjectThe workspace the to-do belongs to, which is its ticket's workspace.
workspace.gidstringGlobally unique identifier of the resource, as a string.
workspace.resource_typestringThe base type of this resource.
workspace.namestringThe name of the workspace.
ticketobjectThe ticket the to-do belongs to. null when the to-do has no ticket you can see, for example because the ticket is in the trash.
ticket.gidstringGlobally unique identifier of the resource, as a string.
ticket.resource_typestringThe base type of this resource.
ticket.namestringThe name of the ticket.
ticket.short_idstringHuman-readable ID made of the teamspace's ticket prefix and a number. null when the ticket has no teamspace.
assigneeobjectThe user the to-do is assigned to.
assignee.gidstringGlobally unique identifier of the resource, as a string.
assignee.resource_typestringThe base type of this resource.
assignee.namestringRead-only except when same user as requester. The user's name.
is_completedbooleanWhether the to-do is done.
completed_atstring (date-time)The time at which the to-do was completed, or null if it isn't completed.
delegated_coding_agents[][object]Opt In. Coding agents the to-do was delegated to, through a coding agent session that isn't archived. Each agent appears once.
delegated_coding_agents[].gidstringGlobally unique identifier of the resource, as a string.
delegated_coding_agents[].resource_typestringThe base type of this resource.
delegated_coding_agents[].namestringThe display name of the coding agent.
created_atstring (date-time)The time at which the to-do was created.
modified_atstring (date-time)The time at which the to-do was last changed.

Example JSON for CommandTodo:

{
  "gid": "12345",
  "resource_type": "command_todo",
  "name": "Write the tests",
  "workspace": {
    "gid": "12345",
    "resource_type": "workspace",
    "name": "My Company Workspace"
  },
  "ticket": {
    "gid": "12345",
    "resource_type": "command_ticket",
    "name": "Add the to-do endpoints",
    "short_id": "CODE-42"
  },
  "assignee": {
    "gid": "12345",
    "resource_type": "user",
    "name": "Greg Sanchez"
  },
  "is_completed": false,
  "completed_at": "2012-02-22T02:06:58.147Z",
  "delegated_coding_agents": [
    {
      "gid": "12345",
      "resource_type": "command_coding_agent",
      "name": "Cursor"
    }
  ],
  "created_at": "2012-02-22T02:06:58.147Z",
  "modified_at": "2012-02-22T02:06:58.147Z"
}