I had JIRA.Messages.showSuccessMsg in an Announcement Banner but not working in JIRA v6.4
Example. . .
<script >
var pathname = window.location.pathname;
if (pathname.indexOf("Dashboard.jspa") >= 0)
{
JIRA.Messages.showSuccessMsg('Some message here');
}
</script>
Is there a way to do this in JIRA 6.4?