Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Activity Stream empty and Javascript Error

Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2019

Hello,

After the update from jira 7.x to 8.1 our activity stream stopped working.
The Gadget stays empty. There is nothing in the Application but there are tons of errors in the browser log like this:

Uncaught ReferenceError: AJS is not defined
Uncaught ReferenceError: define is not defined
Uncaught ReferenceError: jQuery is not defined

 

I've tried the following things:

  • Clear the Plugin Cache and Restart Jira.
  • Restart and Reinstall the activity stream plugin.
  • Disable all user installed plugins.
  • Reindex the issues.

It's still not working and i'm running out of ideas.

Has anybody seen somethnig like this before?

2 answers

1 vote
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2019

Hello Robin,

Thank you for providing the process that let up to the error and the error messages themselves. Without seeing the actual logs to know the caused by errors or other issues present, there are a few things that come to mind as to what is causing this. Could you please check the following items to see if this helps with your issue:

 

  1. Ensure Java is up-to-date and is Java 8
    1. Supported platforms
  2. Ensure your apps are compatible with your new upgraded instance.
    1. Upgrade checklist
    2. Check app compatibility with the Jira update check.
    3. JIRA 8.0 Because of the major changes we've introduced in Jira 8.0, you need to disable all incompatible apps before the upgrade. We also recommend disabling the apps with the status:
      1. Incompatible
      2. Compatible if both upgraded
      3. Unknown
    4. Upgrade your apps with the Compatible if upgraded status.
  3. Check your Support Tools plugin to find any recent errors within your system
    1. For JIRA applications go to cog> System > Troubleshooting and support tools (under System support)
    2. Support Tools Plugin

Please let us know if you’re able to resolve the issue with the above steps or if the issue still persists. If the issue is still persistent, please send over any logs which have the “caused by” within which will reference the issue at hand. (See Logging and profiling)

Regards,
Stephen Sifers

Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2019

Hi Stephen,

Thanks for your reply. I'll try to do a clean update and check if the issue still persists.

Just to complete this post. This is the error i get, inside the activity stream iframe.
The Jira server logs don't show any errors. 

activity_stream.png

 

Regards,

Robin

Bojana Vasic
Contributor
June 6, 2019

Hi @Smith ,

Have you resolved your issue? We seem to have the same problem...

Many thanks!

0 votes
Ian Chan
Contributor
June 22, 2021

I had a similar issue with empty Activity Stream and numerous "ReferenceError: define is not defined" JS errors. I opened the browser's inspector, went into the Application tab and cleared storage for Local, Session, and Cookies. That resolved the problem.

Suggest an answer

Log in or Sign up to answer