飞书项目 icon

飞书项目

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

Actions75

工作项实例读写 → 获取创建工作项元数据

AI-generated

Overview

This node operation fetches metadata for creating work item instances within a specified project space in Feishu Project. It is useful for users who need to retrieve detailed information about work item types and their fields to facilitate the creation or management of work items programmatically. For example, a project manager can use this node to dynamically load work item type metadata to automate task creation workflows.

Use Case Examples

  1. Retrieve metadata for a specific work item type in a project space to dynamically generate forms or validate input data before creating work items.
  2. Use the metadata to understand required fields and field types for work items to ensure data consistency in automated project management processes.

Properties

Name Meaning
project_key The project space key where the work item type exists. It can be selected from a list or manually entered.
work_item_type_key The unique key or name of the work item type within the selected project space. This is required to fetch the metadata for that specific work item type.
options Additional options for the request, including batching parameters and timeout settings.

Output

JSON

  • fields - An array of metadata objects describing the fields of the work item type, including field keys, names, types, required status, and options if applicable.

Dependencies

  • Requires Feishu Project API credentials for authentication.

Troubleshooting

  • Ensure the 'project_key' is correctly specified and accessible; otherwise, the node will throw an error indicating the space is not selected or invalid.
  • If the 'work_item_type_key' is not selected or invalid, the node will fail to fetch metadata.
  • Batching options must be configured correctly; invalid batch sizes or intervals may cause request failures or delays.
  • Timeout settings should be adjusted based on network conditions to avoid premature request abortion.

Links

Discussion