Prerequisites
- Gantt version 25.3.1 or later
- Access to the Gantt widget parameter configuration (editor or admin role)
Step 1: Open Work Item Types Configuration
- Open the Gantt page in edit mode.
- Open Parameters (click the ⚙️ settings icon in the toolbar or access the wiki page parameter editor).
- Navigate to Work Item Types Configurations.
- Select the Item Type you want to configure.
Step 2: Add Fields to the Dialog
- Locate the Additional Dialog Fields section within the selected type configuration.
- Click to add fields. You can select from available Polarion custom fields defined in your project.
- Reorder fields by dragging them in the selection list. The order determines how fields appear in the dialog.
Supported Field Types
| Field Type | Supported Since | Notes |
|---|---|---|
| String | 25.3.1 | Single-line text input |
| Integer | 25.3.1 | Validated numeric input |
| Float | 25.3.1 | Decimal numeric input |
| Boolean | 25.3.1 | Single checkbox |
| Multi-line Text | 25.3.1 | Text area |
| Duration | 25.3.1 | Polarion work-time notation (e.g., 2d 4h) |
| Enumerations (single and multi-value) | 25.3.1 | Dropdown or multi-select picker |
| Category | 25.3.1 | Category enumeration |
| Date | 25.5.1 | Date picker |
| Date time | 25.5.1 | Date + time picker |
| Assignee | 25.5.1 | User picker (useful when Resource is mapped to a different field) |
| Custom Fields mapped as Resources | 25.5.1 | Resource-mapped custom fields |
| Planned In | 25.7.0 | Plan assignment picker |
Step 3: Handle Workflow-Required Fields
Starting with version 25.7.0, fields required by the initial workflow transition are enforced in the dialog. If a required field is missing from your Additional Dialog Fields configuration, a warning appears in the editor view. Ensure all fields required by the workflow’s initial action are included in the dialog configuration.Step 4: Configure Default Values
Custom fields in the dialog can have default values pre-populated when creating a new work item. Default values are supported for:- Enum (select) fields: pre-selected option
- Text (textarea) fields: pre-filled text
- Float (input) fields: pre-filled numeric value
Step 5: Understand Validation Behavior
The dialog enforces these validation rules:- Field permissions: Read-only or editable access is determined by Polarion role permissions, not dialog configuration.
- Required fields: Fields marked as required must be filled before saving. The save button is disabled until all required fields have values.
- Inline validation: Numeric fields (integer, float) show inline error text when non-numeric characters are entered.
Verification
You should now see the configured fields appear in the create/edit dialog when you click ➕ Add Task and select the configured work item type. Required fields display a red asterisk, and the save button enables only after all required fields are filled.See Also
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/editability/add-new-task.cy.tsprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/CustomFieldService.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/types/TypeConfig.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/CustomFieldDTOFactory.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/web/CustomFieldServlet.java