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

GET request for Request Type to include the Key

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • 4
    • 3
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jrahmadiputra Julian (Inactive)
              Votes:
              40 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync