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".
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Harry Anderson ,
For that you'll use getProject
/rest/api/2/project/{projectIdOrKey}
and then parse for issueTypes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.