Time tracking entries

Asana’s native time tracking feature allows you to estimate the time needed to complete a task, as well as record the actual time spent.


TimeTrackingEntryCompact

A Compact object reflects the default fields returned after a successful API request. See input/output options to include more fields in the response.

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
created_byobjectA user object represents an account in Asana that can be given access to various workspaces, projects, and tasks.
created_by.gidstringGlobally unique identifier of the resource, as a string.
created_by.resource_typestringThe base type of this resource.
created_by.namestringRead-only except when same user as requester. The user’s name.
duration_minutesintegerTime in minutes tracked by the entry.
entered_onstring(date)The day that this entry is logged on.
{
  "gid": "12345",
  "resource_type": "task",
  "created_by": {
    "gid": "12345",
    "resource_type": "user",
    "name": "Greg Sanchez"
  },
  "duration_minutes": 12,
  "entered_on": "2015-03-14"
}

TimeTrackingEntry

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
created_byobjectA user object represents an account in Asana that can be given access to various workspaces, projects, and tasks.
created_by.gidstringGlobally unique identifier of the resource, as a string.
created_by.resource_typestringThe base type of this resource.
created_by.namestringRead-only except when same user as requester. The user’s name.
duration_minutesintegerTime in minutes tracked by the entry.
entered_onstring(date)The day that this entry is logged on.
created_atstring(date-time)The time at which this resource was created.
taskobjectThe task is the basic object around which many operations in Asana are centered.
task.gidstringGlobally unique identifier of the resource, as a string.
task.resource_typestringThe base type of this resource.
task.namestringThe name of the task.
task.resource_subtypestringThe 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.
{
  "gid": "12345",
  "resource_type": "task",
  "created_by": {
    "gid": "12345",
    "resource_type": "user",
    "name": "Greg Sanchez"
  },
  "duration_minutes": 12,
  "entered_on": "2015-03-14",
  "created_at": "2012-02-22T02:06:58.147Z",
  "task": {
    "gid": "12345",
    "resource_type": "task",
    "name": "Bug Task",
    "resource_subtype": "default_task"
  }
}