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

0 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,445 views 15 19
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