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

Deleting hidden request types in Jira Service Management 10.x gives Error We couldn't delete the request type

XMLWordPrintable

      Issue Summary

      This is reproducible on Data Center: yes

      Deleting hidden request types in Jira Service Management 10.x gives Error

      We couldn't delete the request type

      Refresh the page and try again

      Steps to Reproduce

      1. Create a hidden request type in below screen
        JSM Project>Project Settings>Request Type
      2. When you try to delete this hidden Request Type, you get an Error like below
      3. Checking the respective DELETE request in the Browser Network logs , it can be seen that there is an invalid character "NaN" in the REST call triggered to "Delete" request type. Below is the REST call getting triggered
        /rest/servicedesk/1/servicedesk/10001/request-type-groups/NaN/request-types/70 

      Expected Results

      Hidden Request Type should delete successfully.

      Actual Results

      Hidden Request Type can not be deleted and their is Error.

      Workaround

      Workaround 1

      • Inspect the Network logs and replicate the problem.
      • Look at the failing request similar to the screenshot above and note down the URL.
        • In the URL, replace "NaN" with "hidden" and then hit the DELETE Request using a REST Client like CURL or POSTMAN.
        • Below is the sample screenshot from POSTMAN REST Client.

      Workaround 2

              c8bcca445054 Benjamin Suess
              ff40f4e86f48 Karan Ahuja
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: