post https://app.asana.com/api/1.0/task_templates//instantiateTask
Creates and returns a job that will asynchronously handle the task instantiation.
Responses
Creates and returns a job that will asynchronously handle the task instantiation.
xxxxxxxxxx
curl --request POST \
--url https://app.asana.com/api/1.0/task_templates/task_template_gid/instantiateTask \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
28{
"data": {
"gid": "12345",
"resource_type": "job",
"resource_subtype": "duplicate_task",
"status": "in_progress",
"new_project": {
"gid": "12345",
"resource_type": "project",
"name": "Stuff to buy"
},
"new_task": {
"gid": "12345",
"resource_type": "task",
"name": "Bug Task",
"resource_subtype": "default_task",
"created_by": {
"gid": "1111",
"resource_type": "user"
}
},
"new_project_template": {
"gid": "12345",
"resource_type": "project_template",
"name": "Packing list"
}
}
}