Prerequisites
- A Polarion project created from the Nextedy Gantt Calendars template (or manually configured with the required work item types)
- Access to Administration > Configuration Properties on both the calendar project and consuming projects
Step 1: Create the Calendar Project
- Download the Gantt package from nextedy.com/product/nextedy-gantt/#download
- Locate
nextedy_gantt.zip/com.nextedy.polarion.gantt/template/WorkItemsCalendarTemplate.zip - Upload it as a Project Template via the Project Templates global administration page
- Create a new project based on the Nextedy Gantt Calendars template
| Work Item Type | ID | Purpose |
|---|---|---|
| Calendar | calendar | Defines regular weekly working hours (global or per-user) |
| Time Off | timeoff | Marks non-working periods (holidays, vacations) |
| Time On | timeon | Overrides Time Off for specific users who must work |
| Tweak | scheduletweak | Adjusts working hours for a date range without changing working/off status |
Step 2: Enable Work Item Calendar Properties
Add the following properties under Administration > Configuration Properties in your calendar project:<PROJECTID> with the project ID of your calendar project and <WORKITEMID> with the ID of a Calendar-type work item to use as the global calendar.
Step 3: Create a Global (Company) Calendar
- In your calendar project, create a new work item of type Calendar
- Set the weekday fields using the format
HH:mm,HH:mm(for example,09:00,17:00for an 8-hour workday) - Set Saturday and Sunday to
-(explicitly non-working) - Leave the Assignee field empty for a global calendar
- Set the From and To date fields to define the calendar’s validity period
Step 4: Create User-Specific Calendars
- Create a new Calendar work item for each user
- Link it to the global calendar using the inherits from link role so it inherits the base schedule
- Set the Assignee field to the target Polarion user
- Override only the weekday fields that differ from the global calendar (leave others empty to inherit)
Step 5: Add Exceptions
Link exception work items to the appropriate calendar using the affects link role:- Time Off: Create for vacations or holidays. Link to the global calendar for company-wide holidays, or to a user calendar for individual time off.
- Time On: Override a Time Off period for a specific user who must work during a global holiday.
- Tweak: Adjust hours for a date range. Set both
workstartandworkendfields to define the modified work window.
Step 6: Enable in the Gantt Widget
Open the Gantt widget parameters and navigate to the Working Calendars section:- Set Use Working Calendar to Yes
- Set Load User Calendars to Yes
- Optionally enable Load Team Assignments for team-scoped capacity
Verify
You should now see grey markers in the resource view for days where users are unavailable. If a user has a Tweak reducing their capacity, the resource view shows the reduced hours and highlights overload with a red indicator.See Also
- Use Calendars from Another Project
- Import Calendars from CSV
- Customize Working Hours per Resource
- Configure Capacity Modifier Fields
- Troubleshooting Calendar Integration Issues
Sources
Sources
KB Articles
- Use WI Calendar for other project for Resource Load management
- Work Item Calendar
- How to load User calendars into Gantt
- Setup GANTT that shows Polarion Plans and Work Items
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/projectCalendar/polarion-config/form layouts/tweak.xmlprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/projectCalendar/WorkingCalendar.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/CalendarBuilder.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/projectCalendar/polarion-config/enums/workitem-type-enum.xmlprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/projectCalendar/polarion-config/form layouts/calendar.xml