0

Is there a way to convert an existing task to a subtask of another task? It works with dragging and dropping I wanted to know how to do that via the API.

Thanks.

grepjuice
  • 3
  • 1
  • 2

1 Answers1

1

The Parent field of a task is read-only and can not be modified via the API.

As per Asana API Documentation: https://asana.com/developers/api-reference/tasks

Justin
  • 3,418
  • 3
  • 27
  • 37
dennyp
  • 81
  • 6
  • Actually I wouldn't want to change the Parent field. I should have been more clear. I would like to have a task that exists as a task in one project and as a subtask to a task in another project. This is possible in the frontend (it shows up as a greyed out line with an arrow next to the task name). – grepjuice Feb 28 '13 at 15:09
  • 2
    dennyp is correct. You can create tasks as subtasks in the API (see docs: `POST /tasks/PARENT-ID/subtasks`) but you cannot move them between parent tasks yet. We hope to allow that in the API soon. – Greg S Mar 06 '13 at 01:04