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

This widget could not be displayed.
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.

This widget could not be displayed.

Easy way to do that with our add-on Jirassimo

Specifically, this is how you track change of statuses: https://wiki.jirassimo.com/display/JIRASSIMO/How+to+send+a+message+when+issue+status+or+priority+or+some+other+field+changes

Vlad

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 Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

115 views 2 0
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