Hi,
I want to show a message whenever a user or group is added to a any project role. For which I am using UserMessageUtil.info() in scriptrunner. But It does not show-up. what wrong am I doing. I am using listener feature and selected All Projects and firing it on the event ProjectRoleUpdatedEvent.
Though it does look that the script is run everytime I modify the roles in a project because it increments the count of executions with no failure. But no message is displayed. any help will be appreciated.
import com.onresolve.scriptrunner.runner.util.UserMessageUtil
UserMessageUtil.info(“role modified”)