Am currently using:
rest/servicedeskapi/servicedesk/{id}/requesttype
But this only returns "Service Request" request types. I want to pull back all the Request types we used, including "Incidents" and "Service Request with Approvals".
Hi @Harry Anderson ,
For that you'll use getProject
/rest/api/2/project/{projectIdOrKey}
and then parse for issueTypes
I am new to the REST stuff, but it looks like you have the wrong URL. The documentation here looks like it has two different URL's. One that matches yours, but a different one in the actual code examples in the Requesttype section.
I think the correct format is /rest/servicedeskapi/requesttype or /rest/servicedeskapi/{id}/requesttype.
Correct, one returns issue types and the other request types.
It looks like you're new here. Sign in or register to get started.