飞书项目 icon

飞书项目

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

Actions75

空间关联 → 绑定空间关联的关联工作项实例

AI-generated

Overview

This node operation binds related work item instances to a space relation in Feishu Project. It is useful for managing and linking work items within a specific project space, enabling better organization and tracking of related tasks or items. For example, users can bind multiple work item instances to a space relation to reflect dependencies or associations between tasks in a project management workflow.

Use Case Examples

  1. Binding related work items to a project space to track dependencies.
  2. Linking multiple work item instances for consolidated reporting or status updates.

Properties

Name Meaning
空间 The project space to which the work item relation belongs. Users can select from a list or manually input the project_key.
工作项类型 Name or ID The type of work item within the selected space. This is required to specify the work item type key.
工作项ID The ID of the work item instance to bind. This ID is obtained from the work item instance details.
请求体参数 The full request body parameters in JSON format, specifying relation_rule_id and instances to bind.
Options Additional options such as batching (concurrent request control) and timeout settings for the API call.

Output

JSON

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

Dependencies

  • Requires Feishu Project API credentials for authentication.
  • Uses internal helper functions to fetch space and work item type details.

Troubleshooting

  • Ensure the project_key (space) is correctly selected or input before choosing work item types.
  • Verify the work item ID is correct and exists in the specified space.
  • Check the JSON format of the request body parameters to match API requirements.
  • If batching is enabled, adjust batch size and interval to avoid rate limiting or timeouts.
  • Common errors include missing parameters, invalid IDs, or API authentication failures.

Links

Discussion