When using HTML email notification the custom filed that I added shows in 1 line, for example:
Will be shown has:
How can I fix it?
I'm using this to show the text:
you've marked your question as being an OnDemand query but that is a restricted function in OnDemand?
The procedure for customising email content sent in notification messages requires editing Velocity files within the JIRA webapp. This makes it a special case of "customising source files". See JST-1791 and JRA-7266 for feature requests to allow customisation of email contents through the web UI.
Email will do one line for field, that is their expected behaviour.
where are you using $issue.getCustomFieldValue("customfield_13188")?
Sorry I ment On Premise - installed on my server.
I'm editing issuecreated.vm under classes/templates/email/html
You can see in the pic I've added "Root Cause" but it should be:
Root Cause: dsad
"Root Cause: dsad fgghhg 123 oren"
Just like "Description"
This is untested but it's cut & paste from something similar, try it with caution & you will have to debug it
#if ($issue.getCustomFieldValue("customfield_13188")) #set ($optionList = $issue.getCustomFieldValue("customfield_13188")) <table border="0" cellpadding="0" cellspacing="0" style="padding:0;text-align:left;width:100%;" width="100%"> #foreach ($val in $optionList) <tr><td>$val</td></tr> #end </table> #end
I'm assuming your CF is returning a List object, if it's not then this won't work.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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