Script Listener UI message/Flag on Competition

Is it possible to show a UI message (success/failure) on the completion? For Example:

We have a listener that is triggered when a issue is updated. currently we are sending an email/comment on issue at the end of the process. we want to convert this to a UI message.

Hi @krishnanayak
You can try this class.

import com.onresolve.scriptrunner.runner.util.UserMessageUtil

This class have 4 types of messages, info, error, warn, and success
UserMessageUtil.error(‘Message’)
UserMessageUtil.warn(‘Message’)
UserMessageUtil.info(‘Message’)
UserMessageUtil.success(‘Message’).

I hope this helps you.

aah … let me try this.