Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
工作项实例搜索 → 获取指定的关联工作项列表(单空间)
AI-generatedOverview
This node operation fetches a list of related work item instances within a single space in Feishu Project. It is useful for scenarios where you need to retrieve work items that are linked by a specific relation key and type, such as dependencies or associations between tasks in a project management context. For example, you can use it to get all tasks related to a particular work item by specifying the work item ID, the type of related work items, and the relation key.
Use Case Examples
- Retrieve all related work items of a specific type linked to a given work item ID within a project space.
- Fetch related tasks based on a custom relation key to analyze dependencies in a project.
Properties
| Name | Meaning |
|---|---|
| 空间 | The project space to search within, identified by project_key. Can be selected from a list or entered manually. |
| 工作项类型 Name or ID | The type of work item within the space. Must be selected after choosing the space. This identifies the category of the main work item. |
| 工作项ID | The ID of the specific work item instance to find related items for. |
| Relation Work Item Type Key | The type key of the related work items to retrieve. |
| Relation Key | The key identifying the relation field that binds two work items together. |
| Relation Type | The type of relation key used: 0 for relation field ID, 1 for relation field docking identifier. |
| Return All | Whether to return all related work items or limit the number of results. |
| Limit | Maximum number of related work items to return if Return All is false. |
| Options | Additional options such as request timeout in milliseconds. |
Output
JSON
id- The unique identifier of the related work item instance.type_key- The type key of the related work item.fields- The fields and their values of the related work item instance.
Dependencies
- An API key credential for Feishu Project API
Troubleshooting
- Ensure the project_key and work_item_type_key are correctly specified and exist in the Feishu Project space.
- Verify the work_item_id is valid and corresponds to an existing work item instance.
- Check the relation_key and relation_type to ensure they correctly identify the relation field binding the work items.
- If the node returns no results, confirm that related work items exist for the specified parameters.
- Timeout errors can be resolved by increasing the timeout option value.
Links
- 获取空间下工作项类型 - Documentation on how to get work item types under a space in Feishu Project.