How to get ID of Jira Calendar

Jackie hardy
Contributor
December 4, 2024

Hello, I am trying to use postman and get the id of one of my jira calendars. Your documentation states to issue the below request:

GET https://<SiteURL>/rest/workinghours/1/api/calendar

The only value returned is 

{

"calendars" : []

}

According to the documentation this return value is not correct.  My only mod to the URL is my site url. Please assist.

1 answer

1 accepted

3 votes
Answer accepted
Tobias H
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 4, 2024

Hi @Jackie hardy!

What type of calendar are you trying to find? This API URL will list the SLA schedules for your JSM projects. 

If you enter "https://<SiteURL>/rest/workinghours/1/api/calendar" into your browser, you should be able to see a list of SLA calendars and their IDs.

Not sure if that was what you were looking for, if not, fingers crossed someone else comes in and have the right answer for you :D

Jackie hardy
Contributor
December 4, 2024

Hi @Tobias H ,

Thank you for your response. I am trying to find the ID associated with the calendar that I created and is linked to my SLAs. 

 

Jackie hardy
Contributor
December 5, 2024

Good Morning, a simple run of the command from my browser presented the correct results. Problem solved.

Like Tobias H likes this
Tobias H
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 5, 2024

That's great to hear! Have a wonderful day :D

Like Jackie hardy likes this
Jackie hardy
Contributor
December 5, 2024

You too!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events