Load Holidays and other non-working days from Polarion calendar

Modified on Thu, 12 Jan, 2023 at 4:17 PM

It is possible to load the non-working days from Polarion working calendar. 


Example, let's mark June 3rd as time-off day in Polarion calendar.



To load it the gantt view, put following fragment to the Widget Properties > Advanced > Gantt Config Script

$workingCalendar.loadNotWorkingDays(2022).loadNotWorkingDays(2023).buildConfiguration()

Note: The functionality may get simpler in next releases. You need to load the years manually, as we want to be sure it loads only data needed, due to performance reasons. Once we will have a proper caching in place, or Polarion will make it faster, we will not need this manual load of calendar.


As a result, June 3rd is marked as time-off day.



Note! It is also important to consider the following:

  • if you mark a specific date as a global non-working day, it is not possible to overwrite it with a personal exception. 
  • So if you set a global "Time Off", then you are not able to mark this date as a working day for a specific user.






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article