Send Issue Created email to users and groups per custom field's value when Issue Creation

I want to sent issue created email to users and groups per custom field's value when Issue Creation.

e.g. When create issue, if custom field:Category is 'A', want to send Issue Created email to users

(user_1 and user_2) and groups (group_1 and group_2). If custom field:Category is 'B', want to send Issue

Created email to users (user_3 and user_4) and groups (group_3 and group_4).

Is this possible by Script Runner at post function when create issue? if yes, could you show me sample script, please?

 

2 answers

Hi,

I think you can create a scriptrunner event listener that can investigate the issues and raise custom events.

You can have two custom events with notifications configured for the separate sets of recipients. Scriptrunner can then delegate the regular issue events to these custom events so notifications will be sent to the proper recipients.

Other option is to use some other addon:

Tibor

 

Sorry just saw, you are on JIRA Cloud, Email This Issue is not yet available in the Cloud. Will be in a few weeks though.

Hi Everyone,

 

We have a similar kind of requirement to be achieved, I would like to know can we get this done without using any plug-in

Thanks,

Vasantha

 

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

938 views 5 18
Read article

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