-
Bug
-
Resolution: Fixed
-
Low
-
10.2.0, 10.3.1, 10.4.0
-
1
-
Severity 3 - Minor
-
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
- Create a hidden request type in below screen
JSM Project>Project Settings>Request Type - When you try to delete this hidden Request Type, you get an Error like below

- 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
- You can also use the Delete request type REST API call.
- links to