The JIRA Announcement banner stops loading javascript?

Robert Matthews
Contributor
August 16, 2011

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.

2 answers

1 accepted

0 votes
Answer accepted
Jimmy Woestman May 8, 2013

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.

0 votes
NSPK November 2, 2016

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events