Polarion MCP DocsPortal

polarion_list_custom_fields

Lists custom field definitions for a specific work item type in a project, including field IDs, names, and types.

When to use

To understand what custom fields are available for a work item type. Useful before calling polarion_get_workitem_details to know which fields to expect in the response.

Parameters

ParameterTypeRequiredDescription
project_idstringYesThe Polarion project ID
work_item_typestringYesThe work item type ID (e.g. "defect", "requirement")

Example response

{
  "status": "success",
  "project_id": "MyProject",
  "work_item_type": "defect",
  "data": [
    { "id": "severity", "name": "Severity", "type": "enum" },
    { "id": "priority", "name": "Priority", "type": "enum" },
    { "id": "component", "name": "Component", "type": "string" },
    { "id": "target_release", "name": "Target Release", "type": "string" }
  ]
}

Related tools