Guides in This Section
Write Item Scripts — Learn the basics of server-side item scripts, including thetask and wi variables, reading work item fields, and passing custom data to the client.
Write Gantt Config Scripts — Configure chart behavior at load time using JavaScript snippets in the Advanced > Gantt Config Script parameter.
Write Page Scripts with Velocity — Use Apache Velocity templates to query Polarion data and inject dynamic content into the Gantt page.
Color Logic Script Examples — Apply custom color logic to task bars based on work item fields, status, or priority.
Calculate Progress with Scripts — Override the default progress calculation with custom formulas that aggregate child task data.
Create Markers with Scripts — Add custom vertical markers to the Gantt timeline using the markers scripting API.
Migrate Scripts for Polarion 2304+ — Update existing scripts to work with the breaking API changes introduced in Polarion 2304 and later.
Debug Script Errors — Diagnose and fix common script errors using the Gantt error indicator and browser developer tools.