Per-Type Configuration Parameters
Each work item type added to the Work Item Types configuration block exposes the following sub-parameters:
The dynamic “presentation depends on whether the item has children” behaviour is provided by the
Auto-Mode value of Gantt Presentation Mode (it is not a separate boolean parameter).
Default Work Item Types
The Gantt chart ships with three built-in work item type configurations:Presentation Modes
Collapse Behavior via Item Script
You can control the initial collapsed state of parent work items per type using the Item Script API:task.open property to false, causing the item to appear collapsed when the Gantt chart loads.
Work Items Gantt vs. Plans Gantt
The per-type configuration applies differently depending on the Gantt mode:
For Plans Gantt configuration, see Plans Gantt Widget Parameters.
Configuration Example
To configure anepic type as a project container and a release type as a milestone:
- Open Widget Properties for the Gantt widget.
- In the Work Item Types section, add an entry for
epic:- Set Gantt Presentation Mode to
Derived Schedule - Set Enable Create to
Yesif you want users to create epics from the toolbar
- Set Gantt Presentation Mode to
- Add another entry for
release:- Set Gantt Presentation Mode to
Milestone
- Set Gantt Presentation Mode to
- Save the widget parameters.
Setting a type as
Project or Milestone does not add or remove items from the Gantt view. It only changes how items of that type are rendered. The visible items are determined by the Work Items data set parameter in Work Items Gantt Widget Parameters.Related Pages
- Work Items Gantt Widget Parameters — main widget parameter reference
- Plans Gantt Widget Parameters — plan-type configuration
- Data Mapping Parameters — field binding for start, end, duration, progress
- Item Script API — scripting for per-item behavior customization