I am working on jira service management, and jira cloud rest api,iam creating article on knowledgebase, and i want get that article to view in postman,for that i need servicedeskId,
like this: GET/rest/servicedeskapi/servicedesk/{serviceDeskId}/knowledgebase/article,
and this is your article link:
https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-knowledgebase-article-get
but from where i found service desk id ? .any article available? for step by step process.
Hi, @lucky nath
Welcome to Atlassian Community
You can use next method from REST API, which will return all servicedesks and assigned to them portal IDs
GET: https://your_domain.atlassian.net/rest/servicedeskapi/servicedesk
More information can be found here:
https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-get
Example, what you will receive (from my test instance):
@Evgenii ,thanks,for your answer,i am follow that link,and use servicedesk endpoint to get my desire output,
GET https://your-domain.atlassian.net/rest/servicedeskapi/servicedesk
which give me reponse in postman like this:
in my postman response,i get id 1 and 2.
in above image you can see an id,is it project id like serial number or it is service desk id ?,and i am using classic jira. Thanks.
Yes, id 1 and 2 are ok. It's portal id's. In my instance response is the same.
It looks like you're new here. Sign in or register to get started.