Hi people!
In our Server Jira Service Desk we have many projects and, although they were created with shared configuration, Jira makes a new copy of the SLA Calendar for each new project.
I now have to manually setup the floating holidays for the next year and I didn't feel like manually editing dozens of calendars through the browser.
Did anyone solve this issue? Database inserts? Automated requests (JMeter)? Something?
Cheers
Hi,
You can update holidays by using REST API:
/rest/workinghours/1/api/calendar - get all calendars to obtain their ids
/rest/workinghours/1/api/calendar/{id} - update the holiday part in JSON format.
There are get/put/delete operations, and will be easy to update the holidays part in all calendars.
Thanks @Manuela Karaabova [Botron]! Though it seem's an undisclosed API, isn't it? Can't seem to find any reference of it... like how to post/put only the new holidays, if that's even possible - or you have to post the entire holiday list...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rodrigo, you can install REST API browser add-on and search for the api, this is non public API.
The format of the input data for this API is JSON, so if you want to add new holidays, you should post the old list plus the new holidays to that list, not only the new holidays. But the idea is you have fist GET operation in your client side, to get the calendar and then add the holidays and execute POST.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manuela,
I have been trying to do this but I am getting 403 as a response. Do we have to have any special authentication?
Never Mind I got it.
You can only use "PUT" and not "POST" as you are not actually creating a calendar you are just updating it with a new holiday.
So basic!
Thanks anyway!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rodrigo.
We have this feature as a part of our new app called Enhancer for Jira Service Desk. This is a commercial app, however, you can find there much more useful features.
In case of any questions feel free to contact us at support@appsvio.com
Cheers,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tom!
Nice to know!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.