Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

217 views 0 6
Join discussion

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