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 "Fire and event when condition is true" - Custom field updated


I'm learning script runner, so I nedd help. I nedd to fire a event wen a custom field is updated. 

The custom field is a user picker type "Referente RD", and when it is update i need to send a notification to the user selected in "Referente RD" field. 


I'm using "Script Runner – Script Listener – Fire an event when condition is true" option, but i don't know how to check if the custom field changes or not.


Thanks in advance!



1 answer

1 accepted

0 votes
Answer accepted

Hi @Celeste D_Alessandro 


The little (i) below the script editor is often useful.

In this case, you should see the "chageItems" is available.

Then, you can look to see if any of the changeItems include the field you care about.

changeItems.any{it.field == 'Reference RD'}

That's all.

I'm assuming your notification scheme is set up to pick up the event that you will fire and the recipient is set to the value of 'Reference RD'?

Another potential option for you is the "Send custom email" listener. This would let you control the content of the email.

Hi @Peter-Dave Sheehan

Thank you very much for your answer.
But It does not works. Do I mis something? See the attached files.

Thanks in advance!

I'd be happy to help further, but I don't see any attached file.

Hi @Peter-Dave Sheehan


It was a notification issue (my mistake). It works now! Thank you very much!


Celeste D'Alessandro 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

171 views 2 9
Read article

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