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 Name | Description | Required |
---|---|---|
Issue ID or Key issue_id_or_key | The ID or key of the issue. | Yes |
Comment comment | The comment text in Atlassian Document Format. | Yes |
Returns
Nothing.
Required Secrets
Secret Placeholder | Description |
---|---|
JIRA_SECRET | Jira 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"},
)