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?
If you're using JIRA Cloud you'll need to use https://developer.atlassian.com/static/connect/docs/latest/javascript/module-messages.html
so it would be something like
AP.require("messages", function(messages){ //create a message var message = messages.success('title', 'success message example'); });
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.