Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get servicedeskID from project API methods

Torbjörn Bång - Twoday August 6, 2019

Hi

We have a jira servicedesk cloud instance for development purposes.

I have created a few Postman requests to test the API, which seems to be working well. However I cannot find a good JIRA Rest method to bind the servicedesk-API and the "regular" rest api together. The servicedesk methods use a servicedesk ID, which is used for getting servicedesks and customers etc. 

Creating a new servicedesk however seems to be done by creating a new projct of the servicedesk type, in the "regular" rest API. That method does not return the servicedesk-ID needed for the servicedesk rest methods unfortunately.

Expanding all keys for a project doesnt seem to help, as I cannot find the servicedeskID anywhere in the project object models.

 

Using the paged method of the servicedesk rest-api will not help, as we will have thousands of projects in the final solution, so paging around and comparing properties will not be a viable solution.

Is there some property that can be expanded for a project to get servicedesk-ID, or how is it supposed to be connected?

 

It feels a bit odd that the servicedesk API has no create-new-servicedesk metod, and that the method to be used does not return the primary ID (servicedeskid) that you need for the other REST methods. Am I missing something here?

Best regards

Torbjörn

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events