There are things not exposed via the Stash Java API (specifically default reviewers) that *are* accessible via the rest api. I see how to make generic rest calls with the groovy scripting that Scriptrunner provides, but whats the best way to do it using authentication -- such as using the current user? I don't want to hardcode passwords or service accounts into my Scriptrunner scripts if possible.
Are there any helpers in Scriptrunner to do this?