Hi,
I set up a "send custom email script" post function via script runner and I would like to add the sender's email address in the signature of the email.
the sender refers to a user picker custom field. I created a scripted field to be able to get the email address to display it in the email.
In the scripted field, I wrote the following script :
import com.atlassian.jira.user.ApplicationUser
return issue.getEmailAddress("Change Request Owner Assignee")
I know something's missing but I did not manage to figure out the problem. i tried with String X= fieldX.getEmailAddress but in vain.
Any ideas?
Thanks a lot