Need help with custom dashboard extension deployment issue
Hi everyone! I created my first custom dashboard extension for Jira and it works great when I test it locally using atlas-run. However, when I deploy it to our production Jira instance, it fails to load properly.
The deployment itself goes through without any problems, but when I try to access the dashboard feature, it throws an error. Here’s what I’m seeing in the logs:
com.google.template.soy.tofu.SoyTofuException: When evaluating "$report.setupHtml": Failed to invoke accessor getSetupHtml on instance of class
com.google.template.soy.tofu.SoyTofuException: When evaluating "$report.setupHtml": Failed to invoke accessor getSetupHtml on instance of class com.atlassian.jira.plugin.corereports.web.action.ConfigureReport$ObjectConfigurationField
at JIRA.Templates.Core.Reports.Configure.objectConfiguration(configurereport.soy:146)
at JIRA.Templates.Core.Reports.Configure.configure(configurereport.soy:74)
at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:369)
at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:322)
at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:154)
at com.atlassian.jira.web.dispatcher.JiraSoyViewDispatcher.render(JiraSoyViewDispatcher.java:48)
at com.atlassian.jira.web.dispatcher.JiraSoyViewDispatcher.dispatch(JiraSoyViewDispatcher.java:38)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Has anyone encountered a similar issue when moving from development to production? Any suggestions on what might be causing this template rendering problem would be really helpful.
Thanks in advance!