AJS is not define

Hi, we did use your product for couple months now and suddendly it is becoming unusable. I get a couple message says that the macro is unkown (Unknown macro: {recently-updated-dashboard}) also in the scripting errors log i see referenceError : AJS is not defined (in dashboard/batch.js) the fonction serving JavaScript in header is alredy turned on

3 answers

1 accepted

I moved my installation to an other server restore my backups and I'm up and running now but there is no way I can reinstall one the original server as it is always missing AJS... Anyway case close for me. And thank you for the full procedure to reinstall

It sounds like one of the JavaScript files isn't loading for some reason -- maybe it got corrupted. If you have Firebug or the Chrome debug tools you should be able to look at the network tab and see if something failed to load.

If I look with firebug I don't see any error in the network section. But when I look to the console section there is 3 errors :

SyntaxError: missing ; before statement
{namespace Confluence.Templates.Dialog}
ReferenceError: AJS is not defined
})(AJS.$);
ReferenceError: placeFocus is not defined
placeFocus();

I moved my installation to an other server restore my backups and I'm up and running now but there is no way I can reinstall one the original server as it is always missing AJS... Anyway case close for me. And thank you for the full procedure to reinstall

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot