diff --git a/src/Rossedman/Teamwork/Project.php b/src/Rossedman/Teamwork/Project.php index 11b9bb1..ef822f1 100644 --- a/src/Rossedman/Teamwork/Project.php +++ b/src/Rossedman/Teamwork/Project.php @@ -150,6 +150,18 @@ public function createMilestone($args) { return $this->client->post("$this->endpoint/$this->id/milestones", ['milestone' => $args])->response(); } + /** + * Create tasklist associated with this project + * POST /projects/{project_id}/tasklists.json + * + * @param $args + * + * @return mixed + */ + public function createTasklist($args) { + return $this->client->post("$this->endpoint/$this->id/tasklists", ['todo-list' => $args])->response(); + } + /** * Tasklists * GET /projects/{project_id}/tasklists.json