Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Notification depends on the single selection field values.

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 12, 2021

Hi Team,

 I have requirement to send the jira notification depends on the selection list. Could you please suggest that how to implement this ?

 Example , we have Department field with single selection list

  • Technology   
  • Marketing/Sales 
  • Customer Success 
  • HR/Corporate Services
  • Finance/Legal 

If user selects Technology while creating the jria ticket , it should send the jira notification to abc@xxx.com, if user selects Marketing/Sales, it should send the jira notification to aabc@xxx.com

Thanks!

 

1 answer

2 votes
David Fischer
Community Champion
November 13, 2021

Hi @Lakshmi CH 

you could use an Email Issue post-function from JMWE, with a script like this for the "Email addresses" field:

<% switch(issue.get("Department")) {
case "Technology": print "abc@xxx.com"; break
case "Marketing/Sales": print "def@xxx.com"; break
//etc
} %>

Suggest an answer

Log in or Sign up to answer