飞书项目 icon

飞书项目

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

Actions75

空间关联 → 获取空间关联下的关联工作项实例列表

AI-generated

Overview

This node operation fetches a list of related work item instances under a specified space relation in Feishu Project. It is useful for users who want to retrieve associated work items based on a given space, work item type, and work item ID, with additional filtering options provided via a JSON request body. This can be applied in project management scenarios where tracking relationships between work items across spaces is necessary.

Use Case Examples

  1. Retrieve all related work items for a specific work item instance within a project space to analyze dependencies.
  2. Fetch related work items to generate reports or dashboards showing work item associations in a project.

Properties

Name Meaning
空间 The project space to select, either from a list or by manually entering the project_key.
工作项类型 Name or ID The type of work item within the space, selected from a list or specified by ID.
工作项ID The ID of the work item instance to get related work items for.
请求体参数 The full request body parameters in JSON format, allowing detailed filtering of related work items.
Options Additional options such as batching (concurrent request control) and timeout settings for the API call.

Output

JSON

  • error - Error message if the request fails or an error occurs.
  • details - Additional error details if available.
  • data - The array of related work item instances returned from the API call.

Dependencies

  • Feishu Project API with appropriate API key credentials

Troubleshooting

  • Ensure the project_key and work_item_type_key are correctly selected or input; missing or incorrect values will cause errors.
  • The work_item_id must be valid and exist in the specified space; otherwise, no related items will be returned.
  • If batching is enabled, ensure batch size and interval are set appropriately to avoid rate limiting or timeouts.
  • Timeout settings should be adjusted based on network conditions and API responsiveness to prevent premature request abortion.

Links

Discussion