I'm trying to show an error message like the ones in this link:


I'm trying to insert an error message through the example 'Inserted with html', but I just get the rectangle with a grey border, not the red one (for error) or the yellow one (for warning). I also tried adding the dependency 'com.atlassian.auiplugin:aui-messages', but no difference, any suggestions?

3 answers

An example code would be:

<div class="aui-message error">
    <p class="title">
        <span class="aui-icon icon-error"></span>

hope this helps :)

No, that's what I'm doing, thanks.

Did you include the classes via:


Yes I did. But I can't get the style of the message.

Which version of Jira are you using? Are there any javascript errors in your browser's javascript console?

In my dev. environment I'm using version 6.2.7.

I don't have any javascript errors in console.

For more infor, I want this:

I'm using this code:

<div class="aui-message aui-message-error">
    <p class="title">
    <p>And this is just content in a Default message.</p>

And I'm getting this result:

As you can see, the style is not the one like in the example I gave in the link in the main question.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

145 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you