Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
附件 → 添加附件
AI-generatedOverview
This node operation allows users to upload attachments to a specified work item within a project space in Feishu Project. It is useful for automating the process of adding files to work items, such as attaching documents, images, or other relevant files to tasks or issues in project management workflows.
Use Case Examples
- Uploading a PDF report to a task in a project space.
- Adding screenshots or design files to a bug report work item.
- Automating the attachment of generated logs or export files to a work item for review.
Properties
| Name | Meaning |
|---|---|
| 空间 | The project space where the attachment will be uploaded. Users can select from a list or manually input the project_key. |
| 工作项类型 Name or ID | The type of work item within the selected project space. This is required to specify the context for the attachment. |
| 工作项实例ID | The unique identifier of the specific work item instance to which the attachment will be added. |
| Input Binary Field | The name of the binary data field containing the file to be uploaded. The attachment size supports up to 100MB. |
| 附件字段 Name or ID | The target field in the work item where the attachment will be uploaded. This depends on the selected project space and work item type. |
| Options | Additional optional settings such as custom file name, array index for composite fields, batching options for concurrent uploads, and request timeout settings. |
Output
JSON
error- Error message if the upload fails.details- Detailed error information if available.
Dependencies
- Requires Feishu Project API credentials for authentication.
Troubleshooting
- Common issues include invalid project_key or work_item_id, unsupported file size exceeding 100MB, and incorrect binary field name.
- Errors related to API authentication failure or permission issues may occur if credentials are not properly configured.
- Timeout errors can happen if the server response is delayed beyond the specified timeout; adjusting the timeout option may help.
Links
- 获取空间下工作项类型 - Documentation on how to get work item types under a project space.