Versions Compared

Key

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

Example Scenario

...

Option 1: JEMH Profile Driven

This method is a simple check-box made with setting: Profile > Configuration > Notification > Notify Users on Issue creation.  This is driven by JEMH rather than JIRA, and will cause the originator of the email to receive an update.  The content of this update is by default the ISSUE_CREATED template.  Alternative content can be generated by creating a custom Issue Event Template Set for ISSUE_CREATED,

...

see /wiki/spaces/JEMH/pages/2850840.  Make sure to give

...

the template a

...

unique name so

...

it can be easily identified.  The Profile then needs to be updated, setting Configuration > Email > Issue Created TemplateSet, which will present all available ISSUE_CREATED TemplateSets, the DEFAULT means the system template.

AdvantagesDisadvantages
  • quick, simple
  • can notify jira, non-jira, or all users
  • does permit customization of content,
eg
  • e.g. 'thanks' type acknowledgements

  • doesn't (yet) notify other addressees on the original email
    Jira Legacy
    serverJIRA (thepluginpeople.atlassian.net)
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId31e1f342-5dce-3979-a43c-85899d565476
    keyJEMH-1107
  • doesn't use the
IssueListener

Option 2: Use JEMH Event Listener

...

The implementation of a simple acknowledgement using a Custom Event is documented in Send a simple acknowledgement.

AdvantagesDisadvantages
  • More flexibility
  • More features
  • More complex to implement

To make the notifications reflect full ISSUE_CREATED notification content, the TemplateSet referred can generated as follows:

  1. Create a new ISSUE_CREATED Issue Event Template Set
  2. Edit, and:
    1. set the title to 'Custom Issue Created Template'
    2. change the eventType to be the custom event (created in JIRA as part of the tutorial above)
  3. Save
  4. If using JEMH for JIRA user notification
    1. Check that ISSUE_CREATED event is not enabled for either non-JIRA or JIRA users
    2. Check that the JIRA Project notification scheme is not enabled and that it is selected
  5. In the IssueListener Project Mapping, for non-JIRA and JIRA users notification, select this Template set for the Custom Events template.

...