Skip to main content

Overview

The config object is the single place where tooltip templates, custom data per Plan column, and scheduler view settings are applied programmatically. Changes made inside the config script take effect on the next render; call 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

When columnTooltipTemplate 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

When columnTooltipTemplate is a function, it receives the current column and row context objects:
A function-based columnTooltipTemplate enables per-user capacity breakdowns showing Available / Allocated / Total for each team member. Overallocated users (negative available capacity) should be highlighted — for example, by wrapping negative values in a <span style={{color: "red"}}> element.
When a user’s available capacity is negative (overallocated), the board renders the value in red by default in the built-in tooltip. Replicate this behaviour in custom templates by checking for negative values and applying appropriate styling.

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

This data can then be read inside a 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.

  • 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
KB Articles
  • Planningboard: Customizable Statistics and Capacity Indicators
  • Planningboard Widget Parameters
Source Code
  • PlanningBoardApiServlet.java
  • capacityTooltipRendering.cy.ts
  • PlanningBoardViewServlet.java
  • PlanningBoardWidget.java
Last modified on June 26, 2026