Mail Queue

General information

Available since v. 1.14.*

Available ONLY for JIRA administrators



Check mail queue status

Method type - GET

URL:

  • {JIRA_URL}/rest/extender/1.0/mailQueue/status

Response format - JSON

Example

{
    "size": 19,
    "isSending": true,
    "sendingStarted": "2018-01-01 19:00:00.000",
    "errorSize": 1
}


Send all messages in the error queue

Method type - POST

URL:

  • {JIRA_URL}/rest/extender/1.0/mailQueue/resendErrorQueue

Response format - JSON

Example

{
    "message": "done"
}


Empty the error queue (discard these messages)

Method type - POST

URL:

  • {JIRA_URL}/rest/extender/1.0/mailQueue/emptyErrorQueue

Response format - JSON

Example

{
    "message": "done"
}


Send all the messages in the queue

Method type - POST

URL:

  • {JIRA_URL}/rest/extender/1.0/mailQueue/sendBuffer

Response format - JSON

Example

{
    "message": "done"
}


If the queue is sending and has 'stuck' on an item, this lets the queue proceed

Method type - POST

URL:

  • {JIRA_URL}/rest/extender/1.0/mailQueue/unstickQueue

Response format - JSON

Example

{
    "message": "done"
}