飞书项目 icon

飞书项目

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

Actions75

评论 → 查询评论

AI-generated

Overview

This node operation queries comments related to a specific work item within a selected Feishu project space. It is useful for retrieving discussions or feedback associated with work items in project management workflows. For example, a user can select a project space, specify the work item type and ID, and fetch all or a limited number of comments on that work item.

Use Case Examples

  1. Retrieve all comments for a given work item to review team feedback.
  2. Fetch a limited number of recent comments on a task to display in a dashboard.

Properties

Name Meaning
空间 Select the project space by choosing from a list or entering the project_key manually.
工作项类型 Name or ID Select the type of work item within the chosen space, either from a list or by specifying an ID.
工作项实例ID Specify the unique ID of the work item instance to query comments for.
Return All Boolean flag to determine whether to return all comments or limit the number of results.
Limit Maximum number of comments to return if 'Return All' is false.
Options Additional options such as request timeout in milliseconds.

Output

JSON

  • commentId - Unique identifier of the comment.
  • content - Text content of the comment.
  • author - Author information of the comment.
  • createdAt - Timestamp when the comment was created.
  • updatedAt - Timestamp when the comment was last updated.

Dependencies

  • Feishu Project API with API key credential

Troubleshooting

  • Ensure the project_key and work item type are correctly selected; otherwise, the node will throw an error indicating missing or invalid parameters.
  • If the work item ID is incorrect or does not exist, the query will return no comments or an error.
  • Timeout errors may occur if the server takes too long to respond; adjust the timeout option accordingly.
  • Errors related to API authentication indicate issues with the provided API key credential; verify and update credentials as needed.

Links

Discussion