Send notification mail based on custom field value updated ?

How to trigger notification mail to send only watchers 
depends on the custom field(Trigger) value is change to "Red_Flag" during all workflow transition status ?

I have to trigger the mail based on the custom field(Select list) value changes to "Red_Flag" during the transition,is it possible ?

How to trigger a mail based on custom field updated and customized mail content?

Please give me some suggestions,thank you!

2 answers

1 accepted

1 votes
Tarun Sapra Community Champion Aug 22, 2017

Changing the custom field would trigger "Issue update" notification which is a generic notification. In order to make sure that the notification is because of the change of custom field, you would need to write custom listeners.

https://developer.atlassian.com/jiradev/jira-platform/guides/other/tutorial-writing-jira-event-listeners-with-the-atlassian-event-library

If you script runner plugin then it becomes even more easy

https://scriptrunner.adaptavist.com/5.0.0/jira/listeners.html

https://scriptrunner.adaptavist.com/5.0.0/jira/listeners.html#_custom_listeners 

sample 

https://community.atlassian.com/t5/Product-Apps-questions/Custom-listener-to-detect-User-Picker-field-change-and-copy/qaq-p/440758

Is it possible  to send mail to only watchers group when custom field updated to "Red_Flag"?

I have already installed script runner plugin but I can't find the suitable built-in scripts.

Thanks for your great support.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,934 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot