Javascript error when accessing board in Jira

Hi guys,

I am having the following issue when accessing any board in Jira:

Exception: Uncaught SyntaxError: Unexpected token )


After analyzing the logs and the javascripts I found that the problem is being triggered by an "eval" function inside the stringify function (see images below):

Screen Shot 2018-01-03 at 9.18.07 AM.pngScreen Shot 2018-01-03 at 9.17.53 AM.png

I've tried to restart Jira and that didn't solve the problem. I've also tried to use it in safe mode and to disable all the add-ons that could be causing this issue, but the problem persists.

JIRA Info:

Version 7.1.9
Build Number 71013
Build Date Mon Jun 27 00:00:00 EDT 2016
Build Revision 1aa0586d78efb7ed8b3de5c648d4b24912070b66
Atlassian Partner
Installation Type Standalone

System Info:

Java Version 1.8.0_74
Java Vendor Oracle Corporation
JVM Version 1.8
JVM Vendor Oracle Corporation
JVM Implementation Version 25.74-b02
Java Runtime Java(TM) SE Runtime Environment
Java VM Java HotSpot(TM) 64-Bit Server VM
User Name jira
User Timezone America/New_York
User Locale English (United States)
System Encoding UTF-8
Operating System Linux 3.16.0-4-amd64
OS Architecture amd64
Application Server Container Apache Tomcat/8.0.33
Database type mysql

Any help is appreciated.

PS: No budget to upgrade Jira at this moment, so that isn't an option.


3 answers

1 accepted

The problem was caused by the Chrome Extension GRAMMARLY that was appending JS to Jira fields.

Hi Anderson,

Thanks for the follow up and I'm glad you were able to find the issue locally!



0 votes

Hi Anderson,

There is an article titled Exception: Uncaught SyntaxError: Unexpected token ILLEGAL while using Agile board that may help with this.  This can be caused by:

  • A javascript that is appended to JIRA through fields/announcement banner
  • The javascript might have syntax error or operation that conflicts with JIRA

To resolve the issue please try the following:

  • Turn on safe mode in JIRA Administration > Add-ons > Manage Add-ons > Turn on Safe Mode to check if any add-ons that is causing this. Retest.
  • Remove the Javascript by checking at Announcement Banner (g+g > search for announcement banner)
  • Run the following sql in your database to find which fields holds the JS

     SELECT * FROM fieldlayoutitem WHERE lower(description) LIKE '%javascript%';

Hopefully this helps!  If it does not and you still run into this issue after trying the resolution let me know and we'll go from there.



First of all, thank you for your help, but unfortunately, none of those solutions worked. As far as I can see it has to do with the greenhopper plugin. Not sure what exactly.

The problem was caused by the Chrome Extension GRAMMARLY. When the extension is deactivated the error doesn't happen. What Grammarly does is to add some javascript to text boxes, so that their system can verify typos, etc. That javascript was causing the issue.

I have contacted Grammarly, but they didn't provide any ETA to fix the problem.

Thanks for circling back and letting us know  I have seen a number of issues with the Grammerly browser extension and there is now a knowledge base that addresses this with the recommendation to disable the add-on.

Please keep up to date with Grammerlys support site for any news on a fix.

Is it can be helpful to update JIRA from 7.1.6 to 7.7?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,316 views 5 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you