Automation for Jira error 500
Asked by Alexander Krylov:

Hi, i install app "Automation for Jira". But when I try to use it in any project, I get an error 500. I try create new sample project and use my old project. Any idea fix it?

![2020-11-25_22-07-56.png](https://community.atlassian.com/t5/image/serverpage/image-id/119715i22171A0D08106643/image-size/large?v=v2&px=999 "2020-11-25_22-07-56.png") {#toc-hId--1298188324}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Cause {#toc-hId-1189324509}
---------------------------

Referer URL: **https:///secure/AutomationGlobalAdminAction!default.jspa**

```
com.google.template.soy.tofu.SoyTofuException: In 'print' tag, expression "$localeString" evaluates to undefined.
```

> ```
> com.google.template.soy.tofu.SoyTofuException: In 'print' tag, expression "$localeString" evaluates to undefined.	at JIRA.Automation.Project.Admin.Page.iframe(automation-admin-page.soy:53) [?:?]	at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:369) [?:?]	at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:322) [?:?]
> ```


Answers:
author: Chris Allport
body: After a fresh install, we experienced this problem, too. We uninstalled Service Desk, and A4J starting working. Thinking that it *might* depend on installation order, I:

* uninstalled A4J
* reinstalled Service Desk
* reinstalled A4J

The system seems to be working just fine!

Good luck!

comments: author: Ferenc Nagy [Midori]
body: Encountered the same error in Jira 8.16.0 + Service Management 4.16.0.  
It helped indeed, thanks!


author: Daniel Ebers
body: Hi Alexander,

no that should not be connected to issues in the Cloud.

I found an [information](https://community.atlassian.com/t5/Jira-Core-questions/NoClassDefFoundError-for-Automation-for-JIRA-plugin-after-JSD/qaq-p/1518273) that it is connected to Automation itself rather.  
Otherwise please check if more errors from log are visible.  

Meanwhile checking if other Apps interfere with Automation could help.  
Probably you have one which is not coping well with Automation.

Cheers,  
Daniel

comments: author: Alexander Krylov
body: Hi Daniel!

I get new virtual host and reinstall my Jira instance. Restore from backup my data. It's work now.

Thank you!


author: Sam Bartolome
body: There is a bug created for such, <https://jira.atlassian.com/browse/JIRAAUTOSERVER-196>


author: Bill Sheboy
body: Hi [@Alexander Krylov](/t5/user/viewprofilepage/user-id/4174290) -- Welcome to the Atlassian Community!

This could be related to the incident they are currently experiencing, which you can monitor here:

<https://status.atlassian.com/>

Best regards,

Bill

comments: author: Alexander Krylov
body: HI [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) and thank you for your response.

I have local instance Jira Server. I tried updating to the latest version Jira, but it didn't help. Now I have a version 8.14 and the same error. This app use cloud infrastructure Atlassian?


author: Bill Sheboy
body: Thanks for that additional information. In this case, I recommend working with your site admin to contact Atlassian Support to learn what they suggest: <https://support.atlassian.com/contact/#/>