Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
子任务 → 创建子任务
AI-generatedOverview
This node operation creates a subtask within a specified project space in Feishu Project. It is useful for project management scenarios where tasks need to be broken down into smaller, manageable subtasks. For example, a project manager can use this node to automate the creation of subtasks under a main work item, assigning roles, schedules, and notes programmatically.
Use Case Examples
- Creating a subtask under a specific work item in a project space to delegate parts of a larger task.
- Automating subtask creation with predefined assignees and schedules based on project workflows.
Properties
| Name | Meaning |
|---|---|
| 空间 | The project space where the subtask will be created, identified by project_key. Can be selected from a list or entered manually. |
| 工作项类型 Name or ID | The type of work item under which the subtask is created. Must be selected after choosing the project space. Options are loaded dynamically based on the selected space. |
| 工作项ID | The ID of the work item instance under which the subtask will be created. This ID is obtained from the work item details. |
| 请求体参数 | The full JSON request body containing subtask details such as node ID, name, alias key, assignees, roles, schedule, notes, and field value pairs. This defines the subtask's attributes. |
| Options | Additional options including batching settings for concurrent requests and timeout settings for server response wait time. |
Output
JSON
error- Error message if the subtask creation fails.details- Detailed error information if available.
Dependencies
- Requires Feishu Project API credentials for authentication.
Troubleshooting
- Ensure the project_key and work_item_type_key are correctly selected and valid, as invalid keys will cause errors.
- The work_item_id must be accurate and correspond to an existing work item instance.
- JSON request body must be correctly formatted according to Feishu Project API specifications; invalid JSON or missing required fields will cause failures.
- Batching options must be configured properly; setting batch size to 0 defaults to 1, and batch interval controls request pacing.
- Timeout should be set considering network conditions; too low a timeout may abort requests prematurely.
Links
- 子任务与属性解析格式 - Documentation on the JSON format for subtask and attribute parsing in Feishu Project.
- 获取空间下工作项类型 - Guide on how to get work item types under a project space in Feishu Project.