Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,452
Community Members
 
Community Events
184
Community Groups

Custom Select List on email notification template

Hi,

I have set up some velocity email templates to include custom fields on the email notificaiton email when an issue is created.  This works fine with text fields, but does not seem to work with select list.  Is this a bug, or not supported on email templates?  My code in the /includes/fields/response.vm is below;  custom field 14002 is the select list, doesnt display on the email, custom field 12089 is a text field, which works.  If you look at the image, response and categroy are the select lists and city is the text field.

 

#disable_html_escaping()
#set ($customfield = $customFieldManager.getCustomFieldObject("customfield_14002"))
#if($issue.getCustomFieldValue($customfield))
<tr>
<th>#text($customfield.name):</th>
<td class="has-icon">
$textutils.htmlEncode($issue.getCustomFieldValue($customfield), false)
</td>
</tr>
#end


#disable_html_escaping()
#set ($customfield = $customFieldManager.getCustomFieldObject("customfield_12089"))
#if($issue.getCustomFieldValue($customfield))
<tr>
<th>#text($customfield.name):</th>
<td class="has-icon">
$textutils.htmlEncode($issue.getCustomFieldValue($customfield), false)
</td>
</tr>
#end

 

image.png

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.5.1
TAGS
AUG Leaders

Atlassian Community Events