API - Integration with other services
REST API
Send emails
Request Body Json
{
"issue":"BD-1",
"fromName":"fromapi",
"fromAddress":"[email protected]",
"to":["[email protected]","admin","g:jira-administrators","r:10000"],
"cc":["[email protected]", "o:lead", "o:watchers"],
"bcc":[],
"emailSubject":"This is the email's subject as if the user entered it",
"emailBody":"This is the email body",
"addAttachments":"ALL",
"emailTemplate":"Acknowledge Issue",
"emailOptions":
{
"addToWatchers":"true",
"replyToMe":"true",
"mailAsMe":"false",
"addComments":"true",
"suppressCommentEvent":"true",
"emailFormat":"text",
"commentVisibility":"g:jira-administrators",
"richHtml":"false"
},
"payload":{"pay1":"val1"}
} Field
Definition
Example
Request Statistics
Request Email Items from the Audit Log
Response structure
Queue Statistics
Incoming Queue Statistics
Parameter
Value
Outgoing Queue Statistics
Parameter
Value
Mail Generation Queue
Parameter
Value
OSGi Component API
API
Explanation
Email Parameters
Last updated