Jira Throws an Unable to Compile Soy Templates Exception When Creating a Service Management Project
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When attempting to create a Service Management Project or add ServiceDesk to an existing project, a 500 error gets thrown on the page. The following stacktrace is seen under the request assistance dropdown:
Technical details
Log's referral number: a53246fc-ac07-4bf5-8de3-XXXXXXXXXXXX
Cause
Referer URL: https://jira.atlassian.com/plugins/servlet/project-config/TEST
com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: com.atlassian.servicedesk:project-admin-soy
com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: com.atlassian.servicedesk:project-admin-soy
at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:124)
at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:52)
at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:45)
at sun.reflect.GeneratedMethodAccessor1372.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
Cause
The Service Management module project-admin-soy has been disabled and must be reenabled.
Resolution
- Navigate to ⚙ > Manage Apps > Manage Apps
- Select the Jira Service Management plugin
- Expand the modules enabled section
- Enable the module: project-admin-soy