asana_create_project_status
Create project status updates in Asana to track progress, share updates, and communicate with team members using color-coded indicators.
Instructions
Create a new status update for a project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_gid | Yes | The project GID to create the status for | |
| text | Yes | The text content of the status update | |
| color | No | The color of the status (green, yellow, red) | |
| title | No | The title of the status update | |
| html_text | No | HTML formatted text for the status update | |
| opt_fields | No | Comma-separated list of optional fields to include |
Implementation Reference
- src/tool-handler.ts:230-236 (handler)Handler switch case for 'asana_create_project_status' that extracts parameters and delegates to AsanaClientWrapper.createProjectStatuscase "asana_create_project_status": { const { project_gid, ...statusData } = args; const response = await asanaClient.createProjectStatus(project_gid, statusData); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
- src/asana-client-wrapper.ts:624-628 (helper)Core implementation in AsanaClientWrapper that calls the Asana SDK ProjectStatusesApi.createProjectStatusForProjectasync createProjectStatus(projectId: string, data: any) { const body = { data }; const response = await this.projectStatuses.createProjectStatusForProject(body, projectId); return response.data; }
- Input schema and metadata definition for the toolexport const createProjectStatusTool: Tool = { name: "asana_create_project_status", description: "Create a new status update for a project", inputSchema: { type: "object", properties: { project_gid: { type: "string", description: "The project GID to create the status for" }, text: { type: "string", description: "The text content of the status update" }, color: { type: "string", description: "The color of the status (green, yellow, red)", enum: ["green", "yellow", "red"] }, title: { type: "string", description: "The title of the status update" }, html_text: { type: "string", description: "HTML formatted text for the status update" }, opt_fields: { type: "string", description: "Comma-separated list of optional fields to include" } }, required: ["project_gid", "text"] } };
- src/tool-handler.ts:21-25 (registration)Import of createProjectStatusTool for registration in tools arraygetProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool } from './tools/project-status-tools.js';
- src/tool-handler.ts:73-73 (registration)Inclusion of createProjectStatusTool in the exported tools arraycreateProjectStatusTool,