create_project
Create a Gryzzly project to organize tasks and time entries, assigning customer, managers, contributors, and visibility. Verify it doesn't exist first, then add tasks so time can be logged.
Instructions
Create a project, the container tasks and time are attached to. A customer and managers or contributors can be named rather than identified. Gryzzly needs a start date, so today is used when none is given; a private project takes contributors, a public one must not. Check list_projects first, since a second call creates a duplicate; then add tasks with create_task, because time cannot be logged on a project without one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The project's short code. | |
| name | Yes | The project's name. | |
| tags | No | Tag identifiers to attach. | |
| end_at | No | When the project is supposed to end. | |
| groups | No | Group identifiers to assign. | |
| customer | No | The customer, by name or id. | |
| managers | No | The managers, by name, email or id. | |
| start_at | No | When the project starts. Required by Gryzzly. Defaults to today. | |
| visibility | No | `public` (everyone) or `private` (contributors only). | |
| is_billable | No | Whether the project is billable. | |
| contributors | No | The contributors, by name, email or id. Must be empty on a public project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The project's identifier. | |
| code | No | The project's short code. | |
| name | No | The project's name. | |
| note | No | The project note. | |
| tags | No | The tags attached to the project. | |
| end_at | No | When the project is supposed to end. | |
| groups | No | The groups assigned to the project. | |
| status | No | One of `active`, `done`, `archived`. | |
| managers | No | The users managing the project. | |
| start_at | No | When the project starts. | |
| created_at | No | When the project was created. | |
| updated_at | No | When the project was last updated. | |
| visibility | No | `public` or `private`. | |
| customer_id | No | The customer this project belongs to, when any. | |
| is_billable | No | Whether the project is billable. | |
| contributors | No | The users allowed to declare on a private project. |