Hello,
We are having an intermitted issue with displaying a custom field in an automatic generated email.We updated the files per “Adding Custom Fields to Email” https://developer.atlassian.com/jiradev/jira-platform/jira-architecture/jira-templates-and-jsps/adding-custom-fields-to-emailAnd the field “Program Number” shows up sometimes but not in every email that is created during “Issue Creation”.
Thanks
Is the field always set? Are the workflows all firing the same "issue created" event for all issue creations? Is the code for the field in the template just a simple "if populated put it in email" or something more complex?
Hi Nic,
here is the code we used to add the "program number"
#if ($issue.getCustomFieldValue("customfield_10000"))$stringUtils.leftPad($issue.getCustomField("customfield_10000").name, $padSize): $issue.getCustomFieldValue("customfield_10000")#end
The field always has a numeric value but doesn't always show up in the actual email
Are all the workflows firing the right events to trigger the use of this template?
Does the field show anything in the email at all? (i.e. field name appears, but content is empty)
Are all the workflows firing the right events to trigger the use of this template? I am waiting to hear from the user who noticed the problem.
Does the field show anything in the email at all?
Nothing, no label nor any data even though it is available on the "Create Issue" form email_program_number.jpg
It looks like you're new here. Sign in or register to get started.