Hi,
I'm having trouble with adding a custom field value to the email template using the script runner "Send a custom email" post function.
I entered this in to the template:
$issue.getCustomFieldValue("customfield_10008")
but it's not working...
Thanks for the help,
Rad
Covered in the docs: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Sendacustomemail
See the template, and the javadoc for CustomFieldManager.
Hey there,
use the following
${cfValues['customfield_name'] ?: ""}
You can find answers to your questions in Jamie's plugin page
https://scriptrunner.adaptavist.com/4.3.6/jira/builtin-scripts.html#_send_a_custom_email
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kostas,
thanks for the answer. Is it somehow possible, to use the customfield id?
Rad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure about that. I think it should be possible. Have a look at the link i send you for the syntax.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.