would anybody happen to have an example of emailing the output of a groovy script in script runner?
I would like to email the result of this script to a user. I can't find a good example in the documentation.
import com.atlassian.jira.ComponentManager
def componentManager = ComponentManager.instance
componentManager.getUserUtil().getGroup("jira-users").getUsers()
Thank you.