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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Email notifications template not showing custom field value

I have a custom field called "Affected End User" in the Create Issue screen. I wanted to add this custom field to the email notifications. This field is defined in the workflow "Create" transition when the user does not fill in this field. 

I followed the Atlassian documentation on editing the email notification templates and adding a custom field to them. I created the affectedenduser.vm and added this code:

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

The email notification I received does not have the correct value for the custom field, as per this image:

emailnotif.PNGI have no idea how to proceed, any help please?

2 answers

0 votes
Fahad Siddiqui Community Leader Sep 08, 2020

Dear,

you need to go in Customer notifications there under 

Default rules 

or 

Go in Add custom rules in Automation

 

this will help you in do the required changes.

Hello Fahad,

What would you have me do in that section?I don't understand how that helps my issue.

Hello Fahad,

Thank you for your reply.

I'm trying to solve this without the use of any additional plugins, but I appreciate your help.

Hello Boris,

Thank you for your reply.

I'm trying to solve this without the use of any additional plugins, but I appreciate your help.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

133 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you