Forums

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

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
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

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 now
AUG Leaders

Atlassian Community Events