I have Java code that used to work and is no longer working but not sure where the problem is and no errors are reported in the JIRA system log.
When trying to create a request the ServiceDesk REST API has started returning 400 Bad Request with this response body:
{"errorMessage":"The request type you are trying to view does not exist.","i18nErrorMessage":{"i18nKey":"sd.customerview.error.requestTypeNotFound","parameters":[]}}When I check JIRA the issue has been created, it has used the correct customer request type as the correct issue type is created and all the hidden fields from the request type have the correct values on the issue. However when viewing the issue the "Service Desk request" section indicates no match!
image2016-6-7 15:13:5.png
The authenticated user is a member of jira-users group and both the serviceDeskId and request type id are correct.