Skip to main content
Only one Work Items Gantt widget is supported per Polarion wiki page.
In the Polarion page editor, the Work Items Gantt widget is listed under the Work Items tag of the widget picker..
Polarion widget picker with the Work Items Gantt widget listed under the Work Items tag

Core Parameters

ParameterDefaultDescription
Scopecurrent projectScope of displayed work items
Sort bystart idSort criteria for top-level work items in the Gantt grid.
Load Children1Number of child levels to traverse and add to the list. 0 means no additional items beyond the dataset.
Show UnplannedtrueWhen yes, work items without a Start Field value are shown at today’s date in gray. When no, they are hidden.
ScaleWTimeline scale unit. Values: H (hour), DD (bi-daily), D (day), W (week), M (month), Q (quarter), Y (year), YY (multi-year).
Parent RoleimplementsWork item link roles used to detect parent-child relationships. If empty, no hierarchy is shown.
Dependency Rolesdepends_onWork item link roles used to detect dependency relationships. If empty, no dependency arrows are shown. The first selected role is used when creating new dependency links by dragging.

Type Configuration

Each work item type listed in the widget can be individually configured beyond just its presentation mode. These per-type settings control creation behavior and hierarchy placement.
ParameterDefaultDescription
Presentation ModetaskHow the type renders on the chart. Values: task, project (summary bar derived from children), milestone (diamond shape).
Allow CreatetrueWhether new items of this type can be created directly from the Gantt chart.
Create Field FilterEmptyLimits which fields are shown in the inline create form for this type.
Parent ModerootWhere in the hierarchy items of this type may be placed. Values: root (top level only), child (nested under a parent), any.
Allowed Parent TypesEmptyWhen Parent Mode is child, restricts which types may serve as a parent.
Sync to PlansEmptyPolarion plan template(s) to automatically assign work items of this type to, based on matching time range. When set, items are planned into all Polarion plans whose date range overlaps with the item’s schedule.
Extra Child QueryEmptyAdditional Lucene query fragment appended when loading children of this type.

Data Mapping

These parameters map Polarion work item fields to Gantt scheduling data. See Data Mapping Parameters for details.
ParameterDefaultDescription
Start Fieldgantt_startWork item field storing the task start date. Supports Date, DateTime, or String field types.
End FieldNoneWork item field storing the task end date. Supports Date, DateTime, or String field types.
Duration Fieldgantt_durationWork item field storing the task duration in days. Supports Integer or String field types.
Progress Fieldgantt_progressWork item field storing the task progress as a float (0.0 to 1.0). Supports Float or String field types.
Duration PrecisionStandard (Days)Precision mode. Standard (Days) uses day-based durations. High (Hours) stores durations in hours and displays times.
Configure at least two of the three date fields: Start Field + Duration Field, End Field + Duration Field, or Start Field + End Field. For production use, define proper custom fields with the recommended types (Date, Integer, Float) rather than relying on ad-hoc string fields.

Grid Columns

These parameters control the left-hand grid panel of the Gantt chart.
ParameterDefaultDescription
Grid Width400Width of the grid panel in pixels.
First Column LabelItemLabel for the combined ID + title column.
Show IDtrueDisplay the work item ID in the first column.
Show TitletrueDisplay the work item title in the first column.
Show Type IcontrueDisplay the type icon in the first column.
Columnsduration columnAdditional grid columns. Each column entry has a Field, Label, Width (px), Alignment (left, center, right), and Render mode (default or a custom renderer).

Deadlines

ParameterDefaultDescription
Show DeadlinestrueDisplays a deadline marker on the chart for each work item that has a value in the Deadline Field.
Deadline FielddueDateWork item field used as the deadline date. Supports Date or DateTime field types.
Deadline ColorredColor of the deadline marker. Accepts CSS color names or hex values.

Baseline

ParameterDefaultDescription
Show BaselinetrueOverlays a baseline bar behind each task bar to compare the current schedule against a historical snapshot.
Baseline Date-1Reference point for the baseline snapshot. A relative value of -1 means one year ago; 0 means today. Can also be set to a specific Polarion revision ID.
Revision IDEmptyExplicit Polarion revision to use as the baseline instead of a relative date. When set, takes precedence over Baseline Date.

Resource View

ParameterDefaultDescription
Show Resource ViewtrueDisplays a resource allocation panel below the Gantt chart.
Resource FieldassigneeWork item field used to identify the resource (person or team) for each task.
Resource LabelEmptyDisplay label shown in the resource panel header.
Resource View Height250Height of the resource view panel in pixels.
Max Assignments OK1Number of simultaneous assignments considered acceptable before flagging overallocation.
Show UnassignedfalseWhen true, includes an “Unassigned” row in the resource panel for tasks with no value in the Resource Field.
Resource Load DisplaytimeHow resource load is shown. num displays a count of assigned tasks; time displays total estimated time.

Working Calendars

These parameters configure which working calendars are applied when calculating task durations and scheduling. Use these instead of the deprecated Working Time parameter.
ParameterDefaultDescription
Use Global CalendartrueApply the project-level global working calendar (excludes weekends and public holidays as defined globally).
Use User CalendarsfalseApply per-user working calendars when calculating resource availability.
Use Assignment CalendarsfalseApply calendars based on work item assignments.
Load Future Years0Number of future years of calendar data to pre-load. Increase if the chart spans beyond the current year.
Load Past Years0Number of past years of calendar data to pre-load. Increase when using baselines that reference historical dates.
Use CachefalseCache resolved working calendar data for faster rendering on large datasets.

Advanced Parameters

ParameterDefaultDescription
Maximize Gantt ViewtrueExpands the Gantt widget to fill the full working area of the Polarion page.
Gantt Height600Fixed pixel height of the Gantt panel (label: Gantt Height (0 for auto-height)); 0 lets it auto-size to content.
Hide ToolbarfalseHides the Gantt toolbar. Implicitly sets Always Edit to true. A floating save button appears instead.
Always EditfalseOpens the Gantt directly in edit mode without the sidebar detail panel.
Drag ChildrentrueWhen dragging a parent task, child tasks are rescheduled by the same offset.
Max Items1000Maximum number of work items loaded into the Gantt view.
Show Today MarkertrueDisplays a vertical line on today’s date in the Gantt chart.
Progress ColoringtrueColor-codes task bars based on their progress percentage.
Read OnlyfalsePrevents all edits. Also automatically set when the user has no license or a Polarion baseline is active.
Override Today's DateEmptyOverrides the date treated as “today” on the chart (useful for snapshots/testing).
Working TimetrueDeprecated (label: Working Time (DEPRECATED - Use Working Calendars)) — legacy working-time mode (weekends as non-working). Use the Working Calendars section instead.
Sidebar Fieldstitle, status, initialEstimate, remainingEstimate, timeSpent, dueDate, assigneeWork item fields displayed in the detail sidebar panel when a task is clicked.

Scripting Parameters

ParameterDefaultDescription
Gantt Config ScriptEmptyClient-side JavaScript snippet for advanced configuration. Runs once when the chart initializes, before data is rendered. See Gantt Config Script API.
Item ScriptEmptyServer-side JavaScript snippet executed per task to customize appearance. See Item Script API.
Markers ScriptEmptyServer-side JavaScript snippet for creating timeline markers. See Marker Factory API.

Configuration Example

A typical Work Items Gantt configuration for a project using parent-child hierarchy and finish-to-start dependencies:
  • Work Items: Query selecting all release and feature items in the current project (type:(release feature))
  • Sort by: start id
  • Load Children: 1
  • Show Unplanned: true
  • Scale: W
  • Parent Role: implements
  • Dependency Role: depends_on
  • Project Types: feature
  • Milestone Types: release
  • Start Field: gantt_start
  • Duration Field: gantt_duration
  • Progress Field: gantt_progress
  • Duration Precision: Standard (Days)
  • Grid Width: 400
  • Grid Columns: duration (label: Durat., width: 80px, aligned center)
  • Show Deadlines: true, field: dueDate, color: red
  • Show Baseline: true, relative date: -1 (one year ago)
  • Show Resource View: true, field: assignee, height: 250px, load display: time
  • Use Global Calendar: true
  • Maximize Gantt View: true
  • Gantt Height: 600
  • Max Items: 1000
  • Drag Children: true
  • Progress Coloring: true
  • Show Today Marker: true
  • Sidebar Fields: title, status, initialEstimate, remainingEstimate, timeSpent, dueDate, assignee

See Also

Last modified on July 10, 2026