Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
工作项配置 → 更新工作项关系
AI-generatedOverview
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
- Updating the relationship between two work item types in a project space to reflect a new dependency.
- 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
- 获取空间下工作项类型 - Documentation on how to get work item types under a project space in Feishu Project.