飞书项目 icon

飞书项目

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

Actions75

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

AI-generated

Overview

This node operation is designed to create new relationships between work items within a specified project space in Feishu Project. It is useful for managing and linking different work item types to establish dependencies or associations, which helps in organizing project tasks and workflows more effectively. For example, a user can link a bug work item to a feature work item to indicate that the bug is related to that feature.

Use Case Examples

  1. Creating a relationship between a 'Bug' work item type and a 'Feature' work item type within a project space to track dependencies.
  2. Linking multiple work item types in a project to reflect their interrelations and improve project management visibility.

Properties

Name Meaning
空间 The project space where the work item relationship will be created. Users can select from a list or manually input the project_key.
工作项类型 Name or ID The work item type within the selected project space. This is required to specify which type of work item the relationship will be created for. Users can choose from a list or specify an ID using an expression.
请求体参数 The complete request body in JSON format that defines the details of the work item relationship to be created, including related work item types and project information.
Options Additional options for the request such as batching parameters (items per batch, batch interval) and timeout settings for the server response.

Output

JSON

  • error - Error message if the 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 missing or incorrect project_key or work_item_type_key, which will cause the node to throw errors indicating the need to select a valid space or work item type.
  • Timeout errors may occur if the server does not respond within the specified timeout period; adjusting the timeout option can help resolve this.
  • Batching configuration errors can arise if batch size or interval values are set incorrectly; ensure batch size is at least 1 and intervals are non-negative.

Links

Discussion