You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'd like to know how to give format to a Message Custom Field. When I use HTML in the default value the results in the user's screen show the HTML code, not the message as I'd like them to see.
Example:
If I enter this:
<font color="red">Check <a href="" target="_blank">this link</a> before proceed.</font>
I'd like to see a red text and a link to a new window, but what I get is:
<font color="red">Check <a href="" target="_blank">this link</a> before proceed.</font>
If I check again the Default Value now the content is:
<p><font color="red">Check <a href="" target="_blank">this link</a> before proceed.</font></p>
So, how do I have to write there so I can get the results I want?
You should use the Jira mark-up.
Use this instead:
{color:#d04437}Check [this link|http://example.com] before proceed{color}
Tip: Go to the field 'Description' and create your message their (with markups) and copy that to your message field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rudy Holtkamp - Many thanks for the above. Is there any trick to set the BOLD text?
For example;
{color:#d04437}Check [this link|http://example.com] before proceed{color}
The output should be - "Check this link before proceed"
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure, just put an asterisk in front and behind it.
*{color:#d04437}Check [this link|http://example.com] before proceed{color}*
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.
@Rudy Holtkamp Where should I add this mark-up? When I edit the default value for the message custom field? (that"s not working for me) On DC. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Gábor Budai You can never go back and edit the default value field after you create it, because it will have been translated to HTML, and if you make any edits and update the field it all goes wrong and displays the HTML code.
You basically have to redo the field from the beginning every time. So save your original markup for future reference. But it has always been like that.
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.