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'); });
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.