Wanted to know how ScriptRunner plugin functionality "Fires an event when condition is true" works?

In new version of ScriptRunner plugin I saw that I can choose new events like CustomFieldCreatedEvent, CustomFieldUpdatedEvent, CustomFieldDeletedEvent etc. But I do not know how to use these new events? I did not find any way to add this new events in my project notification scheme. So if I can not add this new events to my project notification scheme how can i receive notifications?

Thanks

Iftekhar

2 answers

This widget could not be displayed.

In the Admin 'Add-on' Section, find Script runner section in menu on left of page. Click 'Scripted Listeners', then click

'Fires an event when condition is true'

image2016-4-18 21:6:59.png

Now configure the Listener as to which events to evaluate, and enter some evaluation code in the 'conditions' section. Click 'expand examples' for clues. Finally select which event you ultimately want to fire if the condition is true. This event can be a custom event, that you can watch out for in a notification scheme.

 

image2016-4-18 21:5:56.png

This widget could not be displayed.

You cannot use those events in a notification scheme, they are not "per project" for one reason. 

You can run your own code when any of those things happen - see https://scriptrunner.adaptavist.com/latest/jira/listeners.html#_custom_listeners

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

573 views 25 15
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you