Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Can I add holidays to holidayscheme via REST api?

I'm experimenting with these URLs.



Both have post or put methods which would indicate that I can add new holidays via rest api. Although I have not figured out what's the correct request body.

What I've tried:




Finally got it, one has to do raw post method and add following as parameters

{"name": "test123", "description": "test123", "duration": "1d", "date": "25/Sep"}

3 answers


Currently, there is no documentation about the API´s of the System Plugin: Tempo Core. This API is available in the JIRA REST API Browser and is listed as a private API. 

Please note that private API´s are subject to change.





I'm new to Tempo vs REST API. How does a complete POST call look like in order to create a new vacation day?

I don't understand whether the fields you listed in the mentioned JSON are after all like fields in a form post or the JSON is somehow the POST body itself?

I'm trying to make a workaround for TT-535 by requiring working 8h for all Saturdays (by the workload scheme) and set all non-working Saturdays as vacations (instead of setting one, setting 51 in the other direction). I'm not willing to do it manually (will need it next year too), will rather write a script for that.




I see the JSON needs to be the request body itself.
Content-type: application/json
Content-length: {json string length}

The url looks to be like:

{host}/rest/tempo-core/1/holidayscheme/{scheme id}


the verb shoud be PUT (refuses POST)

the json body accepts name and description fields, but adding date, type or duration results  HTTP 500.

It was just experimenting, any comprehensive doc would be a great relief to me.


Just to not leave the question open, decode this request to any language you are implementing it in:

curl -u {user}:{pass} -X POST -H "Content-Type: application/json" {host}/rest/tempo-core/1/holidayscheme/{schema id}/days/{floating|fixed} --data-raw '{"name":"test","description":"Added thru REST API","duration":"1d","date":"23/Mar/18"}'

Hi All,

I want to get the holidays and be able to change/add holidays, of a certain user in JIRA.

So, I would like to try your GET. However, I do not know where for find the schema ID.

Could you please help me with that?

Thank you in advance!


Workload scheme id:

Tempo -> Settings -> Workload -> Click Members in you scheme

and you'll see an URL like {{your.domain}}/secure/Tempo.jspa#/settings/manage-staff?workloadSchemeIds=14

the id is 14

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

400 views 5 12
Read article

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