Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Team-Calendar #4

Open
Lakritzator opened this issue Jun 17, 2016 · 1 comment
Open

Add Team-Calendar #4

Lakritzator opened this issue Jun 17, 2016 · 1 comment

Comments

@Lakritzator
Copy link
Member

Lakritzator commented Jun 17, 2016

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:

  1. Getting the subcalendar id, somehow
  2. Calling /rest/calendar-services/1.0/calendar/export/subcalendar/.ics?os_authType=basic
  3. use something like https://github.com/UHCalendarTeam/ICalendar/
@Lakritzator
Copy link
Member Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant