飞书项目 icon

飞书项目

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

Actions75

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

AI-generated

Overview

This node operation is designed to unbind or dissociate a related work item instance from a space relation in Feishu Project. It is useful in project management scenarios where you need to remove the linkage between a work item and a space, such as when a task is no longer relevant to a particular project space or when cleaning up project data. For example, if a work item was mistakenly linked to a space or if the relationship between work items needs to be restructured, this operation facilitates that unbinding process.

Use Case Examples

  1. Unbinding a work item instance from a project space to correct project organization.
  2. Removing outdated or incorrect associations between work items and spaces in Feishu Project management.

Properties

Name Meaning
空间 The project space from which the work item relation will be unbound. It can be selected from a list or entered manually as a project key.
工作项类型 Name or ID The type of work item within the selected space. This is required to specify which type of work item is being unbound. The list is dynamically loaded based on the selected space.
工作项ID The unique identifier of the work item instance to be unbound. This ID is obtained from the work item instance details.
请求体参数 The complete request body parameters in JSON format, including relation_rule_id and relation_work_item_id, which specify the relation to be unbound.
Options Additional options such as batching (to control concurrency and intervals between requests) and timeout settings for the API call.

Output

JSON

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

Dependencies

  • Requires Feishu Project API credentials for authentication.

Troubleshooting

  • Ensure the project_key and work_item_type_key are correctly selected or input; incorrect values will cause API errors.
  • Verify the work_item_id is accurate and corresponds to an existing work item instance.
  • Check the JSON format of the request body parameter; malformed JSON will cause request failures.
  • If batching is enabled, ensure batch size and interval are set appropriately to avoid rate limiting or timeouts.
  • Common error messages include 'NodeApiError' indicating API call failures, which may be due to invalid credentials, network issues, or incorrect parameters. Review error details for troubleshooting.

Links

Discussion