Message edit custom field - doesn't render properly in Jira Cloud

James Paniagua March 22, 2022

In Jira Server, when you have the Jira Toolkit installed, you can create and configure the default value of a Message Custom (for edit) field type with the following sample AUI markup:

<div class="aui-message aui-message-info">
<p>If this change is related to an existing Service Desk ticket (SD-####) or other Jira issue, please provide it below in the Linked Issues.</p>
</div>

And it displays quite nicely on the create screen when added:

message_field.png

In Jira Cloud, to my surprise, this Message field is also available for usage. After using the same code I have in Jira Server, and setting the default value, it displays like this instead on the create screen:

bad_message_field.png

Additionally, when revisiting the default value configuration, it changes to this:

<p>&lt;div class="aui-message aui-message-info"&gt;<br/>
&lt;p&gt;If this change is related to an existing Service Desk ticket (SD-####) or other Jira issue, please provide it below in the Linked Issues.&lt;/p&gt;<br/>
&lt;/div&gt;</p>

Am I not configuring this field properly in Jira Cloud?

2 answers

1 accepted

2 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2022

Hi @James Paniagua 

In Jira cloud, you should be using markdown.  Your message should look something like this:

{panel:bgColor=#deebff}

If this change is related to an existing Service Desk ticket (SD-####) or other Jira issue, please provide it below in the Linked Issues.

{panel}
James Paniagua March 22, 2022

Hi Mark, thank you for the speedy reply! 

I was able to apply this and it works fine.

Besides this resource: Markdown and keyboard shortcuts | Jira Software Cloud | Atlassian Support

...is there another markdown guide for Jira Cloud / Atlassian products?

I was unable to find an official reference for the panels (info, warning, error, success, etc.) on the aforementioned page or others via Google.

Regards,

James

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2022

That's a good one.  I have this one bookmarked:

https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

Like James Paniagua likes this
0 votes
Robert Eiser May 2, 2024

FYI - there is a bug that makes the default field for message fields with more than one project look blank, even though there is saved content. If this issue is affecting you please vote on the bug report linked below:

https://jira.atlassian.com/browse/JRACLOUD-81327 

Suggest an answer

Log in or Sign up to answer