Message Custom Field (for edit) default value is reformatted after saving

I have a Message Custom Field (for edit) custom field to display a message on some screens. After setting the default value of this the content is reformatted and escaped making editing a pain. For example, if it set the value to be:

{panel}
(i){color:red} my message {color}
{panel}

After saving and going back in to edit it has been changed to:

<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p><img class="emoticon" src="/images/icons/emoticons/information.gif" height="16" width="16" align="absmiddle" alt="" border="0"/><font color="red"> my message</font>
</p>
</div></div>

2 answers

This widget could not be displayed.

I should add this is on an OnDemand instance

This widget could not be displayed.
Umar Khan I'm New Here Jul 26, 2018

Are you editing the HTML when you modify it? I found I needed to reinput raw wiki markup again as it converts that to HTML after submission but does not then convert back when you want to edit. Bit of a pain!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

515 views 3 18
Read article

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