Dapplo.Confluence
Dapplo.Confluence copied to clipboard
Add Team-Calendar
This is just to document that there is currently no way to get events from Team-Calendars.
Unfortunately, Atlassian doesn't have documentation on their API and as far as I can see there are only discussions on this missing and not working.
See here: https://jira.atlassian.com/browse/TEAMCAL-269
The only way this might be possible, is to interpret the ics file generated by:
- Getting the subcalendar id, somehow
- Calling
/rest/calendar-services/1.0/calendar/export/subcalendar/ .ics?os_authType=basic - use something like https://github.com/UHCalendarTeam/ICalendar/
This returns some information: /rest/calendar-services/1.0/calendar/subcalendars (.json) But only gives me one calendar... which I created.
It should be possible to get events from a calendar, but this doesn't work for me..
Example:
/rest/calendar-services/1.0/calendar/events.json?subCalendarId=<id>&userTimeZoneId=Europe%252FBerlin&start=2015-10-09T01%253A00%253A00Z&end=2016-06-17T00%253A00%253A00Z
But this just returns an empty array...