CMJ Integrity Check reports "Failed to get request type with id -1. The request type you are trying to view does not exist"
Symptoms
Integrity Check shows a warning on missing request type and you can see similar entries as below in the log:
Failed to get request type with id -1. The request type you are trying to view does not exist. com.botronsoft.jira.jiraservicedeskintegration.api.ServiceDeskIntegrationException: Failed to get request type with id -1. The request type you are trying to view does not exist. at com.botronsoft.jira.jiraservicedeskintegration.util.ServiceDeskErrorsUtil.handleError(ServiceDeskErrorsUtil.java:24) at com.botronsoft.jira.jiraservicedeskintegration.proxy.impl.RequestTypeProxyImpl49.getRequestTypeById(RequestTypeProxyImpl49.java:524) at sun.reflect.GeneratedMethodAccessor9638.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
At the bottom of the log, you will also see the affected project as well as the offending plugin:
Solution: Search for a solution in the knowledge base - https://kb.botronsoft.com - or copy the details above and open a request at https://support.botronsoft.com Location: Employee Services (PROJECT) Extension for Jira Service Desk (APP DATA)
Cause
The Integrity Check warning reported here occurs when the 'Extension for Jira Service Desk' app attempts to find a request type with id '-1'. '-1' is used in the Dynamic forms' configuration for this app when no specific request type is selected (i.e., something applies to all request types, see the below screenshot).Â
Resolution
The configuration of the 'Extension for Jira Service Desk' app is fine and the Integrity Check warning is a false alarm by the Extension app, hence this can be ignored as users are still able to create the snapshot without any issue.