It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Creating team calendar event using REST API

Hansoo Bae May 08, 2016

Is team calendar supporting REST API for creating events? 

I want to create event in team calendar, like Sprints or JIRA tasks(issues) automatically.

Is there any way to do this? 

I could not find any API documentation. 

2 answers

1 accepted

3 votes
Answer accepted
Steffen Opel [Utoolity] Community Leader May 08, 2016

Providing a REST API is one of the longest standing and most popular issues with Team Calendars still - please vote/watch/comment on the following story to further raise awareness for this surprising limitation:


Hansoo Bae May 08, 2016

Thanks. I voted for this issue!

0 votes
Sarah Cooper Jun 05, 2019

For anyone who stumbles across this post looking for answers (like me), the following Python was what I eventually got working.

import requests

import json

import datetime
baseURI = 'http://localhost:8090/'
resource = 'rest/calendar-services/1.0/calendar/events.json'
headers = { "content-type" : "application/x-www-form-urlencoded" }
data = {"subCalendarId":'calendar-id (can find by viewing calendar in space and clicking on calendar name)',
"what":'Fridays Meeting',
"person": ['userkey (can find using http://localhost:8090/rest/api/user?username=someusername)'],
"startDate": '06-Jun-2019',
"startTime": '10:00',
"endDate": '06-Jun-2019',
"endTime": '11:00',
"allDayEvent": "false",
"where": 'Blue Room'}

response = requests.put(baseURI + resource, headers=headers, auth=('user', 'password'), data=data, timeout=15)


This ( and this ( were where I got most of what I needed to know. Happy coding!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Software

Demo Den Ep. 5: Meet Jira Mobile

See how to use Jira on the go! Demo Den Episode 5 is here: meet Jira Mobile with  Jira  Product Manager Rayen Magpantay.  Demo Den is in our monthly series where a Jira PM demonstrates...

194 views 1 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you