Is it possible via API to update a task by adding the completion date with start and end?

Is it possible via API to update a task by adding the completion date with start and end? Currently I can only do this via the WEB interface

I ran some tests using the Asana API References page and got the following result:

{
“errors”: [
{
“message”: “You may only provide one of due_on or due_at!”,
“help”: “For more information on API status codes and how to handle them, read the docs on errors: Errors
}
]
}

Is there really no way to update the completion date of a task by adding the date range (start and end)?

@Samuel_Paes - assuming you are trying to set the due date? (Completion date is an immutable metadata field that gets set when the task is completed).

If so, you can refer to the documentation here, but the gist is: pass in a value for start_on or start_at in your call (as long as you also pass or have already set a due_on or due_at value.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.