Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Scriptrunner: UserMessageUtil not working?!

Hey guys,


I´m trying to add a notification to my post function. Unfortunately it is not displayed, when the post function is fired. Is there any additional setting in Jira to "enable" it or am I doing it wrong? Or can´t it be executed within a Post function?


I tried with the following code:

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

UserMessageUtil.success("Hello world")


Thank you very much guys!

2 answers

Did you ever get an answer to this? I'm seeing the same issue with Automation for Jira.

I have the same issue.

I've found that it does work when placed in a Validator script, but not in an Automation for Jira script. It seems the point at which is it called effects it.


Update: I tried triggering a listener that contains the notification code from Automation. Still no joy.

Any answer on this?  I'd also like to use UserMessageUtil or an equivalent to display a message to the user, but the "import" line causes an error (unable to resolve class).



To be more precise, we are running version 

The error I get is:

2019-12-23 13_17_15-Window.png

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you