Integrations
Available Integrations
Jira
APIs
Add Comment

Add Comment

Adds a comment to an issue.

For Jira's documentation, see Add Comment (opens in a new tab).

Parameters:

FieldDescriptionRequired
issueIdOrKeyThe ID or key of the issue.Yes
bodyThe comment text in Atlassian Document Format.Yes

Example Output:

{
	"id": "10000",
	"self": "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
	"author": {
		"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=account-id",
		"accountId": "account-id",
		"displayName": "John Doe",
		"active": true
	},
	"body": {
		"type": "doc",
		"version": 1,
		"content": [
			{
				"type": "paragraph",
				"content": [
					{
						"type": "text",
						"text": "This is a comment."
					}
				]
			}
		]
	},
	"created": "2020-07-28T12:34:56.789+0000",
	"updated": "2020-07-28T12:34:56.789+0000"
}