Update Task
asana_update_taskUpdate an existing Asana task by modifying fields like name, notes, due date, assignee, or completion status. Provide only the fields to change and receive the updated task object.
Instructions
Update fields on an existing task. Only supply the fields you want to change. Returns the updated task object. To mark complete: set completed: true. To move sections: use asana_add_task_to_section instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the task | |
| notes | No | New description for the task | |
| due_on | No | New due date in YYYY-MM-DD format | |
| parent | No | The parent task ID to move this task under | |
| task_id | Yes | The GID of the task to update (numeric string, e.g. `'19234567890123'`). | |
| assignee | No | New assignee (can be 'me' or a user ID) | |
| completed | No | Mark task as completed or not | |
| followers | No | Array of user IDs to add as followers | |
| html_notes | No | HTML-like formatted description of the task. Does not support ALL HTML tags. Only a subset. The only allowed TAG in the HTML are: <body> <h1> <h2> <ol> <ul> <li> <strong> <em> <u> <s> <code> <pre> <blockquote> <a data-asana-type="" data-asana-gid=""> <hr> <img> <table> <tr> <td>. No other tags are allowed. Use the to create a newline. Do not use after <body>. Example: <body><h1>Motivation</h1> A customer called in to complain <h1>Goal</h1> Fix the problem</body> | |
| custom_fields | No | Object mapping custom field GID strings to their values. For enum fields use the enum option GID as the value. | |
| resource_subtype | No | The type of the task. Can be one of 'default_task' or 'milestone' |