Hi Community,
I am running into an issue with UserPicker scripted Fields.
I have the template be: UserPicker (Single User).
My code, attached below, grabs the value located in the "TISO" customfield which is in my issue object and it returns an ApplicationUser.
I have debugged and tested it and initially (before saving my ScriptedField) I was retrieving the correct ApplicationUser. Once I saved my ScriptedField and started running it in issues I kept on getting Anonymous even though the "TISO" field (which is a UserPicker) has a user inside of it.
First screenshot displays how it shows anonymous user after saving my ScriptedField. Second screenshot displays how it shows the correct user before saving my ScriptedField.
First:

Second:

Very bizarre behavior. Can anyone provide some assistance in how to approach this?
Thank you!
-Roberto