Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-4916

Request Type Key Creation Inconsistency

    XMLWordPrintable

Details

    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:

      1. Create a Service Deks Project.
      2. Navigate to Project Administration > Request Types
      3. Create a Request Types using the provided Button with name E.g. Monitor
      4. Then, do the same but using the available Public Experimental REST 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}
      1. 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
            },
         	...
        
      2. 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

          Activity

            People

              Unassigned Unassigned
              jrahmadiputra Julian (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync