Create Time Tracking Entry
asana_create_time_tracking_entryLog time spent on a task in Asana by specifying task GID and duration in minutes. Optionally set the date worked; defaults to today.
Instructions
Log time spent on a task. Returns the created entry with gid, duration_minutes, entered_on, and created_by. Note: time tracking must be enabled in the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_gid | Yes | The GID of the task to log time on (numeric string, e.g. `'1234567890123'`). | |
| entered_on | No | The date the time was worked, in YYYY-MM-DD format. Defaults to today if omitted. | |
| opt_fields | No | Comma-separated fields to include in the response. Useful values: `gid,duration_minutes,entered_on,created_by.name,task.name`. | |
| duration_minutes | Yes | Number of minutes to log. Must be a positive integer. |