The javascript is properly inserted in the banner, but fails to load when viewing individual issues. The reported error points to the triggerConfig variable in the viewissue.js file.
ERROR MSG--
SCRIPT5007: Unable to get value of the property 'FocusConfiguration': object is null or undefined
jira.webresources:viewissue.js, line 3 character 320
JScript Debugger highlights -- {var triggerConfig=new jira.setFocus.FocusConfiguration() as being the part that is null.
The Announcment banner has worked in the past, but no longer appears to load the scripts. Does anyone have any ideas of a possible cause? Thanks.
I just ran into the same issue in my environment. As a workaround I removed the Javascript from the Announcement Banner and registered it a resource in a plugin.
put this code in banner body to hide Votes in People web item
<script> jQuery(document).ready(function() { AJS.$("#peoplemodule").find('.item-details').find("dl").has("dt:contains('Votes:')").hide(); } ); </script>
Works in JIRA 7.0.4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.