Integrations
Jira
APIs
Comment Issue

Comment Issue

Adds a comment to an issue.

For more information on the API for commenting an issue, see Add comment (opens in a new tab).

SDK Import:

from admyral.actions import comment_jira_issue_status

Arguments:

Argument NameDescriptionRequired
Issue ID or Key issue_id_or_keyThe ID or key of the issue.Yes
Comment commentThe comment text in Atlassian Document Format.Yes

Returns

Nothing.

Required Secrets

Secret PlaceholderDescription
JIRA_SECRETJira secret. See Jira setup

SDK Example

comment_jira_issue_status(
	issue_id_or_key="SJ-23",
	comment={
		"content": [
			{
				"content": [
					{
						"text": "This is an example comment.",
						"type": "text",
					}
				],
				"type": "paragraph",
			},
		],
		"type": "doc",
		"version": 1,
	},
	secrets={"JIRA_SECRET": "jira_secret"},
)