javascript/jquery in Announcement banner in Jira Software 9.9

chihara
Contributor
October 24, 2023

Recently we upgraded our Jira Software from 8.8 to 9.9.

Then we find that our javascript/jquery in Announcement Banner do not work as 8.8 on Jira 9.9 Dashboard. (it works as expected on "Jira System Setting")

For failed case there is "Uncaught ReferenceError: jQuery is not defined at Dashboard.jspa?selectPageId=10000:426:14" in HAR file.

To fix this error, do we have to modify our script to explicitly load jQuery or else?

Thank you.

1 answer

0 votes
chihara
Contributor
October 25, 2023

For instance,

{noformat}

<script type='text/javascript' >

jQuery().ready(function() {
alert( );
});

</script>

{noformat}

This will display popup on any Jira screen except for dashboard.

Suggest an answer

Log in or Sign up to answer