飞书项目 icon

飞书项目

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

Actions76

工作项配置 → 创建自定义字段

AI-generated

Summary

Creates a custom field definition for a specific Feishu Project work item type.

Inputs

  • project_key (required) — Select the Feishu Project space. Can be selected from a list or manually entered.
  • work_item_type_key (required) — Select the work item type within the space. Choose from the list or specify the type key using an expression.
  • body (required) — A JSON object defining the custom field configuration. Required fields include field_name, field_type_key, and value_type. The default object includes optional fields for default_value, is_multi, format, and display controls.
  • options — Optional settings to control request behavior. Includes 'batching' for parallel processing (items per batch and interval) and 'timeout' to limit wait time for the server response.

Output shape

A list of items containing the created field data from the API response.

Multiple input items are processed in serial or parallel mode depending on the 'Batching' options configuration. The node will throw an error if the request fails and Continue on Error is not enabled.

Examples

Example 1: Create a text field named 'Description' in the 'Bug' work item type.

Set project_key to the space, work_item_type_key to the bug type key, and set body.field_name to 'Description' and body.field_type_key to 'text'.

Example 2: Create a multi-select field with 5 items per batch.

Enable Batching with batchSize 5. Provide the field configuration in the 'body' parameter including the list of options.

Links

Discussion