POST /rest/api/2/issue/{issueIdOrKey}/notify

Creates an email notification for an issue and adds it to the mail queue.

Permissions required:

Servers

Path parameters

Name Type Required Description
issueIdOrKey String Yes

ID or key of the issue that the notification is sent for.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
textBody String No

The plain text body of the email notification for the issue.

subject String No

The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary.

htmlBody String No

The HTML body of the email notification for the issue.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.