Package com.atlassian.jira.event.mail.template


@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault package com.atlassian.jira.event.mail.template
This package contains events related to operations performed by admin on email templates:

Each of the events has three parameter:

  • sessionId, which should be used to correlate events in a single flow (for analytics)
  • operationSuccessful, containing information whether operation ended successfully
  • user, which is ApplicationUser performing operation. This is not used by analytics
Additionally, EmailTemplatesValidatedEvent has <code<>validationFailureReason, which contains the reason ({@link com.atlassian.jira.event.mail.template.EmailTemplatesValidatedEvent.ValidationFailureReason)} of validation failure if operation wasn't successful. Otherwise, it's null.

Unless otherwise noted, all parameters are supposed to be used by analytics