Workflow post functions
You can send automatic emails to senders of incoming emails. These emails can be fully customized with the sender's email address saved in a custom field.
1. Go to Issues --> WORKFLOWS --> Workflows.
2. Choose the Workflow and click Edit.
3. Switch to Text mode.
4. In the Transitions (id) column click on the transition you would like to add the post function to.
5. Switch to the Post functions tab, click Add post function and choose Email This Issue from the list.
Important: It is strongly recommended that the Jira Email This Issue post function is positioned after the system post function Re-index an issue to keep indexes in sync with the database in the list. This is to make sure that the updated attributes are included in the emails.
​

Execute Post function conditionally

SINCE VERSION 5.5.0.7
On the Add Parameters To Function panel you can specify a JQL filter criteria as part of the post function configuration. When specified, Jira Email This Issue executes the post function (i.e. sending emails from the post function) only if the issue matches the JQL criteria. You can add multiple post functions with different JQL filters to implement a complex conditional logic.
​

Configuring email attributes

1. Configure email recipients.
Note: You can select users in the User Picker pop-up window that opens after clicking the icons on the right.
2. Add a subject, a body, choose whether to include a transition comment in the email body, the type of attachments you want to add (if any) and the template you'd like to use.
3. Specify email options.
Note: Email options are by default prefilled with the global default values.
4 Click Add to finish the procedure.