Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A summary of this is listed:

Changing the Sender Email Address between issue types

You might want to have a different sender email address for each type of issue type e.g. bugs would come from bugs-project-one@email.com, and tasks would come from tasks-project-one@email.com. In the following example we're going to utilise the value set by a Custom Field Defaults configuration to change the sender address used in an outbound notification. This presumes that you're familiar with how to configure a Custom Field Configuration (if not, this page will teach you how - Custom Field Defaults).

Preamble

  • A custom field exists for all the issues within your project. It will contain the sender email address.
  • A Custom Field Default exists for your project. This results in all issues that are created from inbound emails by JEMHC having a value for the custom field.
  • The Custom Field Default is different for each issue type, e.g. tasks are tasks-project-one@email.com and bugs-project-one@email.com

How to configure the email Notification Mapping

Once the items in the preamble are out of the way it's really easy to vary the sender email address between issue types. All you have to do is go into your email notification mapping and find the field called 'Sender Email Address Custom Field' under the 'Sender' section. Here's a picture of it configured to look inside a custom field called 'Custom Field'.

Image Removed

When this field is populated the email notification mapping will use its value as the sender address when sending out email notifications. If the custom field is left blank on the Jira ticket then the sender address within the Message Outbound configuration will be used instead. You can find this by going to Messaging → Outbound → Message Outbounds.