飞书项目 icon

飞书项目

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

Actions75

视图 → 创建条件视图

AI-generated

Overview

This node operation creates a conditional view in the Feishu Project management system. It allows users to define a view based on specific search parameters and conditions within a selected project space and work item type. This is useful for filtering and organizing work items dynamically according to user-defined criteria, such as status, priority, or custom fields.

Use Case Examples

  1. Creating a conditional view to show all high-priority tasks in a project space.
  2. Setting up a view that filters work items assigned to a specific team or user.
  3. Defining complex search groups with multiple conditions and conjunctions to tailor the view to specific project needs.

Properties

Name Meaning
空间 The project space where the conditional view will be created. 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 conditional view. Users can choose from a list or specify an ID via expression.
请求体参数 The complete request body in JSON format defining the search groups, parameters, conjunctions, cooperation mode, users, teams, and the name of the conditional view. This JSON structure controls the filtering logic and metadata of the view.
Options Additional options for the request such as batching (to control concurrency and intervals between requests) and timeout settings for server response.

Output

JSON

  • id - The unique identifier of the created conditional view.
  • name - The name of the created conditional view.
  • search_group - The search group object defining the conditions and parameters used in the view.
  • cooperation_mode - The cooperation mode setting for the view.
  • cooperation_user_keys - List of user keys involved in cooperation for the view.
  • cooperation_team_ids - List of team IDs involved in cooperation for the view.

Dependencies

  • Requires Feishu Project API credentials for authentication and access.

Troubleshooting

  • Ensure the project space (project_key) is correctly selected or entered before choosing the work item type, as the latter depends on the former.
  • Validate the JSON format of the request body parameter to avoid malformed requests.
  • If batching is enabled, configure batch size and interval appropriately to avoid rate limiting or server overload.
  • Timeout settings should be adjusted based on network conditions and server response times to prevent premature request abortion.

Links

Discussion