飞书项目 icon

飞书项目

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

Actions75

视图 → 更新固定视图

AI-generated

Overview

This node operation updates a fixed view in the Feishu Project management system. It allows users to modify the contents and collaboration settings of a specific fixed view within a project space. Common scenarios include managing work item visibility and collaboration modes in project views, such as adding or removing work items from a view or adjusting cooperation settings among users or teams.

Use Case Examples

  1. Updating a fixed view to add new work items and remove outdated ones.
  2. Changing the cooperation mode and specifying users or teams who can collaborate on the view.

Properties

Name Meaning
空间 The project space where the fixed view exists. Users can select from a list or manually input the project_key.
工作项类型 Name or ID The work item type within the selected project space. This is required to specify the type of work items involved in the view update.
视图ID The unique identifier of the fixed view to be updated.
请求体参数 The full request body in JSON format containing parameters such as work item IDs to add or remove, cooperation mode, and collaboration user or team keys.
Options Additional options including batching settings for concurrent requests and timeout settings for server response wait time.

Output

JSON

  • data - The JSON response data from the update fixed view API call, representing the result of the update operation.
  • error - Error details if the update operation fails, including error message and cause.

Dependencies

  • Requires Feishu Project API credentials for authentication.
  • Relies on internal helper functions to fetch project spaces, work item types, and to perform the API call.

Troubleshooting

  • Ensure the project_key and view_id are correctly specified; missing or incorrect IDs will cause errors.
  • The work item type must be valid and enabled in the selected project space.
  • Batching options must be configured properly; invalid batch sizes or intervals may cause request failures.
  • Timeout settings should be adjusted based on network conditions to avoid premature request abortion.
  • Common error messages include '未实现方法' (method not implemented) if the operation is not supported, or API errors related to invalid parameters.

Links

Discussion