wetrack_create_metadata_field
Create custom metadata fields for tickets, projects, or sprints. Specify field type, options, and requirements to capture workflow-specific data.
Instructions
Create a new custom metadata field definition.
Args: resource_type: What the field belongs to — 'TICKET', 'PROJECT', or 'SPRINT'. label: Field label e.g. 'Cost Center'. field_type: Field input type — 'TEXT', 'NUMBER', 'DATE', 'BOOLEAN', 'SELECT', or 'MULTI_SELECT'. ticket_type: Required when resource_type is 'TICKET' — 'EPIC', 'STORY', 'TASK', 'BUG'. helper_text: Optional placeholder/helper text shown below the field. is_required: Whether this field is mandatory (default: False). options: Required for SELECT/MULTI_SELECT fields — list of option objects: [{"label": "Engineering", "value": "eng"}, ...]
Example: resource_type="TICKET", ticket_type="BUG", label="Environment", field_type="SELECT", options=[{"label": "Production", "value": "prod"}, {"label": "Staging", "value": "staging"}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| options | No | ||
| field_type | Yes | ||
| helper_text | No | ||
| is_required | No | ||
| ticket_type | No | ||
| resource_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |