Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
工作项实例读写 → 更新工作项
AI-generatedOverview
This node operation updates a work item instance within a specified project space in Feishu Project. It is useful for automating updates to work items by specifying the project space, work item type, work item ID, and the fields to update. For example, it can be used to programmatically change the status, assign users, or modify custom fields of a work item instance based on workflow triggers.
Use Case Examples
- Updating the status field of a work item instance when a related task is completed.
- Changing the assignee of a work item instance based on a condition in an automated workflow.
Properties
| Name | Meaning |
|---|---|
| 空间 | The project space where the work item instance exists. Can be selected from a list or entered manually as a project key. |
| 工作项类型 Name or ID | The type of work item within the selected project space. This is required to identify the schema of the work item to update. |
| 工作项ID | The unique identifier of the work item instance to update. |
| 字段动态赋值 | A collection of fields and their new values to update on the work item instance. Supports various data types including text, multi-text, select, multi-select, user, and multi-user. Complex types require JSON string input. |
| Options | Additional options such as batching parameters for concurrent requests and timeout settings for the update operation. |
Output
JSON
error- Error message if the update operation fails.details- Additional error details if available.
Dependencies
- Feishu Project API with appropriate API key credentials
Troubleshooting
- Ensure the project_key and work_item_type_key are correctly specified and exist in Feishu Project.
- Field keys and values must conform to the expected data types and formats, especially for complex JSON fields.
- Batching options must be configured properly to avoid request overload or timeouts.
- Common errors include missing required parameters, invalid field values, or API authentication failures. Check error messages for details and verify credentials and input data.
Links
- 获取空间下工作项类型 - Documentation on how to get work item types under a project space.
- 字段与属性解析格式 - Documentation on field and attribute parsing format for work items.