Adding A Task To A Project Section Using API


#1

@Matt_Bramlage Can you add a newly created task to an existing Project Section using the API.

https://asana.com/developers/api-reference/sections

Thanks
Jim


#2

Yes: if, when creating the task, you specify both the projects and the memberships properties, you can create the task directly in a section. Additionally, if you have already created the task but want to move it into a section, you can use the /tasks/task-id/addProject endpoint and specify a section there, which will move it - i.e. “re-insert this task into this project, but in the given section now”.