I have Request Type where I want to set the values of certain fields based on the reporter. This all works fine if I assume that the logged-in user is the Reporter. However, if a Service Desk Agent selects a different user from the "Raise this request on behalf of" field, I want to capture that value and use it to populate the fields on the Request.
Is there a way using a ScriptRunner behavior to get the value of the "Raise this request on behalf of" field?
UPDATE WITH SOLUTION: The "Raise this request on behalf of" field can be retrieved and managed as getFieldByName("Reporter")