Hi,
We have ScriptRunner and I'm trying to build a groovy script to copy the reporter's email address (Not user ID) to a custom field. The template ScriptRunner provided is giving an error.
@JP Can you provide more details of the template you mentioned about? What error are you getting?
Also, let me know what is your purpose?
@Taranjeet Singh The template was pulled from the Script Console page by clicking the Copy Custom Field link next to the Examples text below the code box. We are getting errors:[customfield_10060:Operation value must be a string.
We need this field populated with the reporter;s email address for automatic replies through email this issue app
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@JP Can you rather use the example code from this documentation to see if you could make it work for your use case?
https://jamieechlin.atlassian.net/wiki/spaces/GRV/pages/33030170/Post+Functions
But this code has been rather used on a post-function of a workflow transition on which you can copy a field value to another.
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.