I've attempted to use Scriptrunner to warn users when their e-mail is set to a dummy value.
To solve this problem I've created a Custom Script Listener that listens for UserAuthenticatedEvent and runs a script that has the following code:
import com.onresolve.scriptrunner.runner.util.UserMessageUtil
UserMessageUtil.success("This is a test message.")
But I never see any messages. Is there something I'm doing wrong or is there a better way of getting a message to a user that can't receive e-mails?