Creates a zip file containing email templates at local home and returns the file.
This request has no parameters.
Zipping was successful
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/api/2/email-templates' \
--user 'email@example.com:<api_token>'
Extracts given zip file to temporary templates folder. If the folder already exists it will replace it's content
object
Templates has extracted
1
2
3
curl --request POST \
--url 'http://{baseurl}/rest/api/2/email-templates' \
--user 'email@example.com:<api_token>'
Replaces the current email templates pack with previously uploaded one, if exists.
This request has no parameters.
Templates were replaced
1
2
3
curl --request POST \
--url 'http://{baseurl}/rest/api/2/email-templates/apply' \
--user 'email@example.com:<api_token>'
Replaces the current email templates pack with default templates, which are copied over from Jira binaries.
This request has no parameters.
Templates were restored to default
1
2
3
curl --request POST \
--url 'http://{baseurl}/rest/api/2/email-templates/revert' \
--user 'email@example.com:<api_token>'
Returns a list of root templates mapped with Event Types. The list can be used to decide which test emails to send.
This request has no parameters.
Reading email types was successful