飞书项目 icon

飞书项目

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

Actions75

工作项实例读写 → 获取工作项的工时记录列表

AI-generated

Overview

This node operation fetches the list of work hour records for a specific work item instance within a selected project space. It is useful for tracking and managing the time spent on individual work items in project management scenarios. For example, a project manager can use this node to retrieve detailed time logs for a task to analyze productivity or billing.

Use Case Examples

  1. Retrieve all work hour records for a given work item instance to generate a time report.
  2. Fetch a limited number of recent work hour records for a work item to monitor ongoing progress.

Properties

Name Meaning
空间 Select the project space either from a list or by manually entering the project_key.
工作项类型 Name or ID Select the work item type within the chosen space. This can be selected from a list or specified by ID using an expression.
工作项ID The ID of the work item instance for which to retrieve work hour records.
Return All Boolean flag to determine whether to return all results or limit the number of results.
Limit Maximum number of work hour records to return if 'Return All' is false.
Options Additional options such as request timeout in milliseconds.

Output

JSON

  • work_hour_records - Array of work hour record objects associated with the specified 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 valid within the Feishu Project space.
  • If the node throws an error about an unimplemented method, verify that the resource and operation names are correctly set.
  • Timeout errors can occur if the request takes longer than the specified timeout; increase the timeout option if needed.
  • If no records are returned, check that the work item ID exists and has associated work hour records.

Links

Discussion