Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

JIRA Service Desk REST API - Examples - How to


Our system environment is that we have the following JIRA products (self-Served):

- JIRA Service Desk REST API
- JIRA Software 7.0.4
- JIRA Core 7.0.4

Server name:

We also have the URL for the 'JIRA Service Desk REST API Reference (JIRA Service Desk 4.3.3)' and we would like to be able to make API call using Linux Curl command in order to be able to get as an example the organizations for our JIRA server. As per JIRA service Desk Rest API document we have the following statement:

GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/organization

Therefore, I used the following curl command: 

curl -u{serviceDeskId}/organization

But when I ran the above command the Linux machine just returned back to the terminal cursor and that there were no outputs or errors (just the Carriage-Return).  I am not sure what should exactly have happened.  The API document also stated that:

"application/jsonReturns the requested organizations" so would that mean I should have gotten a Json file returned?  Please advise and if possible provide us with an API call (using curl command) example.  It would be very much Appreciated. 

Best Regards,
Rooz Adhami
IPsoft Inc.

1 answer

0 votes
Brant Schroeder Community Leader Sep 05, 2019

In the following url,{serviceDeskId}/organization, you need to update the {serviceDeskID} with the actual service desk ID.  You can get the service desk ID by going to the service desk's admin section and select details.  The ID will be in the url pid=XXXX.  Place that in the url to get the curl to work.  Also this API is experimental. Experimental APIs are not guaranteed to be stable within the preview period. You must set the header 'X-ExperimentalApi: opt-in' in your curl to use this API.  Hope this helps.


Thank you very much for your reply. First I am not sure how to navigate to the 'Service desk's admin section' as when clicking on the Right-Most-Corner Cog icon on our JIRA System Dashboard  I could choose from the given Options of 'Application, Projects. Issues. Add ons , User Management, System'.  So it would be very helpful to provide us with how to navigate to Admin section for the Service desk in order to get the ID number (just a reminder that we use JIRA Software 7.0.4 plus JIRA Core 7.04 and JIRA Service Desk 3.0.11 as self-Served).  Also as per your above statement of "Also this API is experimental. Experimental APIs are not guaranteed to be stable within the preview period" do you mean that the listed APIs on the 'JIRA Service Desk 3.2.0' API's URL of might not be working?  Please explain more in details.

Best Regards,

Rooz Adhami
IPPsoft Inc.

Hello Brant,

Searching google, please see below URL from Atlassian Community and based from a comment by Mihai Panait (as dated February 04/2016):

"so.. JIRA service desk rest api is only available on v 3.1.x released on 10 feb 2016"

And since as stated earlier our JIRA server is based on 'JIRA Service Desk 3.0.11' therefore, I believe that we would need first to upgrade to JIRA Service Desk to v3.1.x before attempting to use REST API in our JIRA environment/server.  Can you please confirm that.  Again, thanks for your earlier comments/feed-back regarding this issue.

Cordially Yours,
Rooz Adhami
Ipsoft Inc.

Brant Schroeder Community Leader Sep 06, 2019


  The Jira Service Desk API did not become available on server until service desk version 3.2.0.  So yes if you are on any version before 3.2.0 you will need to upgrade.

Hello Brant,


Thanks for confirmation.  


'Rooz Adhami
IPsoft Inc.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

183 views 2 3
View question

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