飞书项目 icon

飞书项目

飞书项目管理 API 集成,支持工作项、空间、用户、工作流等完整功能

Actions75

评论 → 添加评论

AI-generated

Overview

This node operation allows users to add comments to work items within a specified project space in Feishu Project. It supports adding plain text or rich text comments to work items by specifying the project space, work item type, and work item instance ID. This is useful for automating feedback, updates, or notes on project tasks directly within Feishu Project.

Use Case Examples

  1. Adding a plain text comment to a specific work item in a project space to provide status updates.
  2. Adding a rich text formatted comment to a work item to include detailed feedback or instructions.

Properties

Name Meaning
空间 The project space where the comment will be added. 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 specify the context of the comment.
工作项实例ID The unique ID of the work item instance to which the comment will be added.
评论内容(纯文本) The plain text content of the comment. Either this or the rich text content must be provided, but not both simultaneously.
评论内容(富文本) The rich text content of the comment in JSON format. Either this or the plain text content must be provided, but not both simultaneously. If both are provided, rich text takes precedence.
Options Additional options for the comment operation, including batching settings for concurrent requests and timeout settings for server response wait time.

Output

JSON

  • error - Error message if the operation fails.
  • details - Detailed error information if available.

Dependencies

  • Requires Feishu Project API credentials for authentication.

Troubleshooting

  • Ensure the project space (project_key) is correctly specified and accessible.
  • Verify the work item type and work item instance ID are valid and exist in the specified project space.
  • Provide either plain text or rich text content for the comment, but not both simultaneously.
  • Check API credentials and permissions if authentication errors occur.
  • If batching is enabled, ensure batch size and interval are set appropriately to avoid rate limiting or timeouts.

Links

Discussion