Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get email templates as zip file

Creates a zip file containing email templates at local home and returns the file.

GET/api/2/email-templates
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Responses
200

Zipping was successful

403

User is not a system admin

500

IOException happen or any unexpected exception was thrown

Try it
Server
Authorization
Request
curl -X GET 'http://jira.example.com/rest/api/2/email-templates' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Zipping was successful

Was this page helpful?