-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
None
-
2
-
3
-
NOTE: This suggestion is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding suggestion.
Problem Solution:
At the moment, when we run a GET REST API to get a request type details, the response will be shown like below:
GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype
{ "id": "18", "_links": { "self": "http://localhost:8731/rest/servicedeskapi/servicedesk/1/requesttype/18" }, "name": "Monitor", "description": "", "helpText": "", "serviceDeskId": "1", "groupIds": [ "1" ], "icon": { "id": "10532", "_links": { "iconUrls": { "48x48": "http://localhost:8731/secure/viewavatar?avatarType=SD_REQTYPE&size=large&avatarId=10532", "24x24": "http://localhost:8731/secure/viewavatar?avatarType=SD_REQTYPE&size=small&avatarId=10532", "16x16": "http://localhost:8731/secure/viewavatar?avatarType=SD_REQTYPE&size=xsmall&avatarId=10532", "32x32": "http://localhost:8731/secure/viewavatar?avatarType=SD_REQTYPE&size=medium&avatarId=10532" } } } }
From here, we could not actually find the key of the request type that is being used for JIRA when storing the Customer Request Type Custom field value in the database.
Suggested Solution:
To include the key in the response or better adding the lowercase project key at the front as how it is in the customfieldvalue table.
Workaround
See below KB page:
- relates to
-
JSDCLOUD-4917 The REST API endpoint /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype should include the request-type Key in the response
- Reviewing