飞书项目 icon

飞书项目

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

Actions75

工作项实例读写 → 获取工作项操作记录

AI-generated

Overview

This node operation fetches the operation records of work item instances within a specified project space. It is useful for tracking changes, actions, and history related to specific work items in project management scenarios. For example, a user can retrieve all operation logs for certain work items to audit changes or monitor activity.

Use Case Examples

  1. Retrieve operation records for multiple work items by specifying their IDs and project space.
  2. Filter operation records by operator, operation type, or time range to analyze specific activities.

Properties

Name Meaning
空间 选择空间。可以从列表选择或手动输入 project_key。
工作项IDs 工作项ID列表,多个用逗号分隔,也支持表达式数组。用于指定需要查询操作记录的工作项。
Return All 是否返回所有结果,还是只返回指定数量的结果。
Limit 当 Return All 为 false 时,限制返回结果的最大数量。
Options 附加筛选选项,包括操作人、操作人类型、来源类型、来源、操作类型、操作时间范围、操作记录模块和请求超时时间。

Output

JSON

  • operationRecords - 返回的工作项操作记录列表,包含每条操作的详细信息。

Dependencies

  • 需要飞书项目管理API的认证凭证以访问项目空间和工作项数据。

Troubleshooting

  • 确保提供的 project_key 和工作项ID有效且存在,否则可能返回空结果或错误。
  • 请求超时可能导致操作失败,可通过调整超时时间参数解决。
  • 当启用批量处理时,注意批量大小和间隔设置,避免请求过多导致API限制或失败。
  • 错误信息通常包含详细的API错误描述,检查网络连接和认证凭证是否正确。

Discussion