Forums

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

How to send custom mail to a group of people on creation of issue?

Jeetendra Dash February 15, 2019

There is a requirement from the project is:

on create of task we need to send custom mail to specific users.

I follow below solution:

created a custom event and assigned it to a group and added in the post function of the workflow.

here i am seeing two problems.

how to manage these groups.for example tomorrow they ask to add new people then we need add them to the group.

As we are using one workflow and it is shareble to all the projects,i cant modify all the workflows for the above feature.

 

Is there any alternative way where i can send custom mail on creation of the issue without adding the post function in the workflow

please getback to me if you are clear about the requiremet

 

Thanks

4 answers

1 vote
Jeetendra Dash February 24, 2019

Thank you Tarun

I have implemented by using listener of script runner plugin

Thanks

Jeetendra 

Tarun Sapra
Community Champion
February 25, 2019

Glad to know @Jeetendra Dash  that it helped, please upvote, accept answer so that others are helped as well.

0 votes
Tarun Sapra
Community Champion
February 15, 2019

Hello @Jeetendra Dash 

If you want to fire an custom event from the workflow, then you can do that and even if the workflow is shared by multiple projects then you can make sure that the notifications scheme of only the project which interests you contains the custom event. 

Hence in the notification of the required project you can add the required group against the event and thus the group will be notified for that event only for the project containing the notification scheme and not for other projects.

You can also explore paid plugins like "Script runner" which offer this feature of sending custom emails based on conditions (project should be X or issueType should be Y ..like that)

0 votes
Dave Bosman [Realdolmen]
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.
February 15, 2019

Hi @Jeetendra Dash 

 

With your requirements this can only be done with a plugin like (unless i am overlooking something.)

  • scriptrunner
  • Automation for JIRA
  • ...

My advice would be to use Automation for JIRA

You can create global and/or project rules with this plugin, and those can easily be maintained without the need for scripting skills. 

 

Best regards

Dave

0 votes
Mihai Schwarz
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.
February 15, 2019

Hi @Jeetendra Dash do you want that group users to receive notifications for all the issues raised in that project?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events