飞书项目 icon

飞书项目

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

Actions75

工作项配置 → 更新工作项关系

AI-generated

Overview

This node operation updates the relationship configuration of a work item within a specified project space in Feishu Project. It is useful for managing and modifying the connections between different work item types in a project, allowing users to maintain accurate and up-to-date project structures. For example, a project manager can update the relationship details between work item types to reflect changes in project workflows or dependencies.

Use Case Examples

  1. Updating the relationship between two work item types in a project space to reflect a new dependency.
  2. Modifying the name or details of an existing work item relationship to keep project documentation current.

Properties

Name Meaning
空间 The project space where the work item relationship exists. Can be selected from a list or entered manually as a project key.
工作项类型 Name or ID The work item type within the selected project space. This is required to specify which work item type the relationship update applies to. Options are loaded dynamically based on the selected space.
关系ID The unique identifier of the work item relationship to update.
请求体参数 The complete JSON request body containing the updated relationship details, including name and relation details such as work item type keys and project keys.
Options Additional options for the request, including batching settings (items per batch and batch interval) and request timeout in milliseconds.

Output

JSON

  • error - Error message if the update operation fails.
  • details - Detailed error information if available.
  • name - Name of the error type if an error occurs.

Dependencies

  • Requires Feishu Project API credentials for authentication.

Troubleshooting

  • Common issues include invalid or missing project key, work item type key, or relation ID, which will cause the operation to fail.
  • Errors related to malformed JSON in the request body parameter can cause the update to fail; ensure the JSON is correctly formatted.
  • Timeout errors may occur if the server does not respond within the specified timeout period; adjust the timeout option accordingly.
  • If batching is enabled, ensure the batch size and interval are set appropriately to avoid overwhelming the API or causing rate limits.

Links

Discussion