We are in the process of purchasing Jira Service Desk.
I have recently installed Jira service Desk (v3.8.2) on a test server using a production backup of our current Jira Software instance. After the installation I am unable to created any service desk projects.
I get the following error when attempting to create the project:
Hmm... we couldn't create your project due to an unknown error. Try refreshing the page to start again.
The logs show:
Caused by: java.lang.IllegalArgumentException: cacheLoader returned null for key 'SD_REQTYPE'
JIRA Software 7.5.1
2018-03-01 14:57:32,132 http-nio-8080-exec-20 ERROR email@example.com 897x1793x1 1yqa74f 10.1.12.52 /rest/project-templates/1.0/templates [c.a.jira.project.ProjectCreateRegistrarImpl] The handler with id com.atlassian.jira.project-templates-plugin:apply-project-template-handler threw an exception while handling a notification about a project being created
com.atlassian.cache.CacheException: java.lang.IllegalArgumentException: cacheLoader returned null for key 'SD_REQTYPE'
Hello, Avinash! The issue you are experiencing appears to be related to a missed upgrade task. This is due to a known issue that can happen if you had Service Desk installed in Jira 6.4 or older and then upgraded Jira to a newer version, passing Jira 7.0 without having Jira Service Desk installed. This would cause an upgrade task to be missed, which would, in turn, be the cause of the error you are receiving. You can follow this KB Article with suggested workarounds to solve that issue: Problems after upgrading/installing JIRA Service Desk
I hope this helps!
If your scenario is indeed that you had SD installed time ago, and then uninstalled, time passed, upgraded your instance, and now at 7.5 you experience the issue, it is technically possible to purge the old SD data, although it requires dropping a few tables. The scenario is currently tracked in the feature request JSDSERVER-4732 (please feel free to give feedback there on how this is affecting your experience). You can try following THIS COMMENT from David Yu, which appears to have worked for other users. Remember to back up your database before doing any change!
Purging the previous Service Desk information worked for me.
These where the instructions from Atlassian.
- Go to JIRA Admin > Application > Versions & licenses, and uninstall Service Desk from this page.
- You will get a popup with "Also remove my JIRA Service Desk configuration" automatically ticked. Keep this option ticked, and click on "Uninstall"
- Stop JIRA
- Run all these queries in the Database:
- Query to drop the Service Desk tables (the list of tables to drop might be different in your environment. If it is different, please adjust it with the list of tables you got from the Plugin data storage page):
- Queries to delete Service Desk upgrade history:
§ § delete from propertytext where id in (select id from propertyentry where entity_name like 'com.atlassian.servicedesk%' and propertytype='6');§ § delete from propertyentry where entity_name like 'com.atlassian.servicedesk%' and propertytype='6';
- Query to clear the pluginstate table:
§ § DELETE FROM pluginstate where pluginkey like 'com.atlassian.jira%';
- Restart JIRA
- Download Service Desk 3.8.2
- Install it via the UPM by uploading the file : https://confluence.atlassian.com/upm/installing-add-ons-273875715.html#Installingadd-ons-Installingbyfileupload
This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events