Forums

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

JIRA.Messages.showSuccessMsg not working in Jira 6.4

Khanh Nguyen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2015

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?

1 answer

1 accepted

1 vote
Answer accepted
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2015

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');
});

Suggest an answer

Log in or Sign up to answer
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events