- Card tooltips — shown when hovering over a work item card on the board
- Capacity tooltips — shown when hovering over the capacity bar of a Plan column
cli.tooltip property in an Item Script; capacity column tooltips use the columnTooltipTemplate configuration option.
Before you begin
- You need edit access to the Planningboard widget parameters on the LiveDoc or Wiki page.
- Familiarity with the
wiandcliscripting objects helps — see Customize Card Content for an introduction to Item Script. - Capacity tooltips require capacity loading to be enabled (
capacityLoad = true). See Configure Capacity Tracking.
Customize card tooltips
Card tooltips appear when a user hovers over any work item card on the board. By default, no custom tooltip is set. You define the tooltip content using thecli.tooltip property inside the Item Script.
Step 1: Open the widget parameters
Open the page containing the Planningboard widget in edit mode and open the Advanced Properties section of the widget.Step 2: Add an Item Script
In the Item Script field, setcli.tooltip to any string. The value supports HTML for richer formatting.
Example — show the work item ID and description on hover:
Step 3: Save and verify
Save the widget. Hover over any card on the board. The tooltip should appear with the content you defined.Customize capacity tooltips
Capacity tooltips appear when hovering over the capacity bar of a Plan column in the calendar header. They are only active when capacity loading is enabled on the board.Default capacity tooltip
When no custom template is configured, the default tooltip shows aggregate values:columnTooltipTemplate is not set.
Configure a custom capacity tooltip
ThecolumnTooltipTemplate option accepts either a string template or a JavaScript function that receives column and row objects. You set this through the Config Script in the widget’s Advanced Properties.
Example — per-user allocation breakdown:
setCurrentView() call is required after programmatically changing the tooltip template — it triggers a re-render so the new template takes effect immediately.
Tooltip data flow
The diagram below shows how the two tooltip types relate to their data sources and configuration points:Available scripting objects
Common pitfalls
You should now see
- Hovering over any work item card shows the tooltip content defined in your Item Script.
- Hovering over a Plan column’s capacity bar shows either the default aggregate values or your custom per-user breakdown.
- Overallocated users (negative available hours) appear in red in a custom capacity tooltip.
See also
- Customize Card Content — configure
cli.fieldsLine,cli.cardColor, and other card properties alongside tooltips - Customize Card Appearance — adjust card height, colors, and layout
- Configure Capacity Tracking — enable the capacity bar that drives capacity tooltips
- Visualize Capacity Load — understand what the capacity bar displays
- Item Scripts — full reference for the Item Script execution environment
- Config Scripts — full reference for the Config Script execution environment
Sources
Sources
KB Articles
- Planningboard: Customizable Statistics and Capacity Indicators
- Customize the content of the card
- Planningboard interface & basic interactions
capacityTooltipRendering.cy.tscustomProgressTooltip.cy.tsviewLicense.vmPlanningBoardWidget.javaPlanningBoardWidgetRenderer.java