Skip to main content

Enable Deadlines

Navigate to Widget Properties > Deadlines and configure the following parameters:
ParameterDescriptionRequired
ShowDeadlinesEnable deadline marker display on the Gantt chartYes (set to true)
Deadline FieldThe Polarion work item field that holds the deadline dateYes
Passed Deadline ColorCSS color applied to items where the end date extends past the deadlineNo (default styling applies)
The Deadline Field and Passed Deadline Color parameters only appear after you set ShowDeadlines to true. This progressive disclosure keeps the parameter panel clean when deadlines are not in use. Set Deadline Field to any date-type field on your work items, such as dueDate or a custom date field. The field must contain a date value for the deadline marker to appear. diagram

Understand Overdue Coloring

When ShowDeadlines is enabled, the Gantt compares each task’s end date against its deadline field value. If the end date extends beyond the deadline, the task bar is styled with the Passed Deadline Color and receives an overdue visual indicator.
The overdue color indicates that a task’s scheduled end date extends past its deadline — it does not compare against today’s date. A task finishing on March 15 with a deadline of March 10 will appear overdue regardless of what today’s date is. If you need current-date-relative coloring, use a custom Item Script with date comparison logic.

Add a Deadline Column to the Grid

You can display deadline dates in the grid panel by adding a column with the deadline template. Navigate to Widget Properties > Table > Columns and add a column with these settings:
ParameterValue
fieldYour deadline field ID (e.g., dueDate)
renderdeadline
The deadline column template displays dates in a compact format (e.g., “Sep-09”, “Nov-30”). When the task is overdue, the date text turns red to provide a clear visual cue in the grid.
The deadline column in the grid does not support inline editing. To update a work item’s deadline date, edit the field through the lightbox or directly in Polarion.

Configure the Passed Deadline Color

Set Passed Deadline Color to any valid CSS color value. Common choices include:
  • Named colors: red, orange, darkred
  • Hex codes: #e53935, #ff5722
Leave this parameter empty to use the default overdue styling.

Verification

You should now see deadline markers on the Gantt timeline for work items that have a value in the configured deadline field. Items whose end date extends past the deadline should appear in the configured color. If you added a deadline column, verify that overdue dates display in red text.

See also

KB ArticlesSupport TicketsSource Code
  • prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/Rewritten Tests/testGanttDeadlines.cy.ts
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidgetDependenciesProcessor.java
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/Task.java
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidgetConfig.java
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidget.java