Skip to main content

Item Script API (Task and Work Item Objects)

Access and modify task properties and Polarion work item data during server-side data loading. Control colors, labels, progress, and field values per work item.

Gantt Config Script API

Configure client-side Gantt behavior including templates, event handlers, drag settings, and visual properties. Runs once when the chart initializes.

Marker Factory API

Add vertical milestone markers to the Gantt timeline. Create markers from Polarion plans, work items, or custom dates with configurable labels and colors.

Page Parameters API

Define user-input parameters accessible in the maximized Gantt view toolbar. Use parameter values in Item Scripts for dynamic filtering and behavior.

Velocity Context Variables

Access Polarion server-side variables in script pre-processing. Use project, user, and service objects to generate dynamic script content.
Velocity context variables are resolved first (server-side), then Item Scripts execute per work item during data loading, and finally the Gantt Config Script runs once on the client when the chart initializes. The Marker Factory executes alongside Item Scripts on the server.
KB ArticlesSupport TicketsSource Code
  • prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/scripts.js
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/util/WidgetPropertiesAccess.java
  • prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/nextedy.js
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/types/TypesConfig.java
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/ScriptEvaluator.java