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:
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:
Additionally, when revisiting the default value configuration, it changes to this:
<p><div class="aui-message aui-message-info"><br/>
<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><br/>
</div></p>
Am I not configuring this field properly in Jira Cloud?
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}
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's a good one. I have this one bookmarked:
https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.