Overview
setCurrentView() to force an immediate re-render after modifying the config at runtime.
Capacity Tooltip Properties
These properties control how capacity information is presented in the tooltip that appears when hovering over a Plan column’s capacity bar.Default Tooltip
WhencolumnTooltipTemplate is not configured, the board displays an aggregate capacity tooltip showing:
- Capacity — total capacity for the Plan column
- Done — effort marked as done
- Todo — remaining effort
- Available — capacity minus allocated effort
Custom Tooltip Function
WhencolumnTooltipTemplate is a function, it receives the current column and row context objects:
Plan Column Data Properties
These properties attach custom data to individual Plan columns, making it available inside tooltip templates and other rendering callbacks.Example: Storing custom data per Plan
columnTooltipTemplate function to render plan-specific information.
Scheduler View Control
setCurrentView() is required whenever configuration properties are changed at runtime — for example, after updating columnTooltipTemplate in response to a user action. Changes made during the initial config script execution (before first render) do not require an explicit call.Configuration Example
The following example demonstrates a config script that adds a per-user capacity breakdown tooltip to all Plan columns.REST API Integration
The Config Script API operates on the client-side configuration layer. The underlying data served to the board is provided by the REST API described on the REST API page. Key data endpoints relevant to capacity configuration:
These endpoints feed the data that capacity tooltip templates present. Customising the tooltip via
columnTooltipTemplate does not change the underlying data — it only changes how that data is displayed.
Limitations
The Config Script API surface documented here is based on confirmed source context (tooltip template and
scriptData customisation, setCurrentView method). Additional scheduler configuration properties may be available in the running product. Consult the Scripting Properties reference for administration-level scripting configuration options.- Multi-assignee capacity: the capacity model does not support multi-assignee effort distribution. Per-user capacity breakdowns in custom tooltips reflect single-assignee allocation only.
- Sub-item effort: effort is not automatically distributed from parent items to sub-items. Tooltip data reflects top-level item estimates.
- Whitespace sensitivity: capacity-related configuration properties are whitespace-sensitive. Avoid leading or trailing spaces in property values passed to the config object.
Related Pages
- Scripting API — entry points and execution context for config scripts
- Item Script API — API available when scripting individual card rendering
- Data Script API — API for customising the data query and transformation layer
- REST API — HTTP endpoints for data retrieval and capacity updates
- Capacity Parameters — widget parameters controlling capacity display
- Scripting Properties — administration properties for enabling and configuring scripting
Sources
Sources
KB Articles
- Planningboard: Customizable Statistics and Capacity Indicators
- Planningboard Widget Parameters
PlanningBoardApiServlet.javacapacityTooltipRendering.cy.tsPlanningBoardViewServlet.javaPlanningBoardWidget.java