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:
- Email templates downloaded (
EmailTemplatesDownloadedEvent
) - Email templates uploaded (
EmailTemplatesUploadedEvent
) - Email templates validated (
EmailTemplatesValidatedEvent
) - Email templates applied (
EmailTemplatesAppliedEvent
) - Email templates reverted (
EmailTemplatesRevertedEvent
)
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 successfullyuser
, which isApplicationUser
performing operation. This is not used by analytics
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