Custom field values on "To issue fields" email

Hugo Mora April 3, 2014

Hi!

I'm trying to include a group members emails on field "To issue fields" from Custom email Listener form... This value is stored on a custom field XXX (or customfield_12345)

Could Iput something like this on this field?

group:<% out << issue.getCustomFieldValue(componentManager.getCustomFieldManager().getCustomFieldObjectByName("CustomFieldName")) %>

Thanks a lot!

--Hugo

1 answer

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2014

There's an example of including custom fields here: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Sendacustomemail

TEST-1 looks like an issue key, presuming that's a custom field name it should be ok.

Hugo Mora April 5, 2014

Hi Jamie,

"TEST-1" was a really bad name for a test custom field. :-( It wasn't an issue. I've updated the code.

Thanks,

--Hugo

Suggest an answer

Log in or Sign up to answer