@ExperimentalApi
public interface MailTemplatesService
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
applyEmailTemplates()
If the temporary folder with email templates is present, it will replace the production templates with temporary
ones
|
ServiceOutcome<File> |
getEmailTemplatesZip()
Returns a zip file of the templates folder used for single notifications email.
|
ServiceOutcome<Void> |
revertEmailTemplatesToDefault()
Replaces all currently used templates (stored in Shared Jira Home) with default templates.
|
ServiceOutcome<Void> |
uploadEmailTemplates(InputStream templatesStream)
Saves a stream to disk and unzips it's content to the temporary templates folder.
|
ServiceOutcome<Void> uploadEmailTemplates(InputStream templatesStream)
ServiceOutcome<Void> applyEmailTemplates()
ServiceOutcome<File> getEmailTemplatesZip()
ServiceOutcome<Void> revertEmailTemplatesToDefault()
Copyright © 2002-2021 Atlassian. All Rights Reserved.