I noticed Service Desk uses a new rest endpoint for managing calendars/working hours (it is available in SLA configuration).
It looks like you’re building something for general use - it’s located under https://xxx.atlassian.net/rest/workinghours/1/api/calendar (outside Service Desk), has a notion of owner (so I guess in the future it will be possible to link calendars not only to SD projects but maybe business and software too?
I tried accessing this information from the add-on (has admin scope) but it fails with 403. If I impersonate a user that has access to the calendar in the browser it returns an empty list of calendars (browser shows 2), which is really strange and I can’t access a single calendar either.
As we have an add-on that could use this information and users were already asking why don’t we use it I wonder what are the plans for this working hours? Is it something we will be able to use in the near future or should we build our own solution from scratch (which would duplicate the existing one which would suck for us and users)?