HI,
(disclosure: I'm very new to scripting, I took a C++ class about 8 years ago)
I'm trying to fire a custom email via scriptrunner when the reporter is "Remote User". What script would i use for this?
I cobbled together a condition script :
import com.atlassian.jira.component.ComponentAccessor
def userManager = ComponentAccessor.getUserManager()
issue.reporter == "Remote User"
But it always resolves as false, so i must be doing something very wrong.
Thank you