Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3.3.1
-
1
-
Severity 3 - Minor
-
2
-
Description
NOTE: This bug report is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding bug report.
Request Type Key Creation Inconsistency
Steps to Reproduce:
- Create a Service Deks Project.
- Navigate to Project Administration > Request Types
- Create a Request Types using the provided Button with name E.g. Monitor
- Then, do the same but using the available Public Experimental REST API
- JIRA Service Desk Public API
POST /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype
- JIRA Service Desk Public API
Expected Solution:
- Both will have the same format of Request Type Key.
Actual Result:
There will be a difference between the Request Type that is created using REST API or from GUI. This information could be retrieved by using PRIVATE or INTERNAL REST API of JIRA Service Desk:
GET /servicedesk/1/pages/settings/requesttypes/{projectKey}
- Experimental REST API
{ "projectKey": "ISD", "projectId": "10001", "portalKey": "isd", "requestTypes": [ { "id": 20, "key": "rest2", "name": "REST", "description": "Please tell us clearly the problem you have within 100 words.", "descriptionHtml": "<p>Please tell us clearly the problem you have within 100 words.</p>", "projectId": 1, "issueTypeId": 10006, "issueTypeName": "", "parentKey": "isd", "callToAction": "REST", "intro": "REST", "introHtml": "<p>REST</p>", "icon": 10527, "order": 0 }, ...
- Project GUI
<continue from above> { { "id": 18, "key": "9cf89dda-2bd2-41e3-9ce9-9deb621fe4a9", "name": "Monitor", "description": "", "descriptionHtml": "", "projectId": 1, "issueTypeId": 10007, "issueTypeName": "", "parentKey": "isd", "callToAction": "Monitor", "intro": "", "introHtml": "", "icon": 10532, "order": 2 }, ...
Notes:
It looks like the REST API is still using Old Method which is RequestTypeInternalManagerScala
Attachments
Issue Links
- relates to
-
JSDCLOUD-4916 Request Type Key Creation Inconsistency
- Closed