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:
I have no idea how to proceed, any help please?
You can easily configure this type of thing using our app, Notification Assistant for Jira https://marketplace.atlassian.com/apps/1211069/notification-assistant-for-jira-email?hosting=server&tab=overview
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
you need to go in Customer notifications there under
or
Go in Add custom rules in Automation
this will help you in do the required changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Fahad,
What would you have me do in that section?I don't understand how that helps my issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May be this will help you in completing your requirements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.