Portal Community

When to Use

Configuration

Connection

FieldRequiredDescription
HostRequiredJira instance base URL. Example: https://acmecorp.atlassian.net
EmailRequiredAtlassian account email. Example: automation@acmecorp.com
ApiTokenRequiredAPI token from Atlassian security settings. Store in Credentials Manager.

Operation Fields

FieldRequiredDescription
IssueKeyRequiredThe key of the issue that contains the comment. Example: PROJ-123.
CommentIdRequiredThe numeric ID of the comment to retrieve. Obtained from a prior comment/add response or from a Jira webhook payload. Example: "10281".

Sample Configuration

{
  "resource": "comment",
  "operation": "get",
  "Host": "https://acmecorp.atlassian.net",
  "Email": "automation@acmecorp.com",
  "ApiToken": "{{ $credentials.jiraApiToken }}",
  "IssueKey": "{{ $json.issueKey }}",
  "CommentId": "{{ $json.commentId }}"
}

Validation Errors

Error CodeCause
VAL_MISSING_ISSUE_KEYIssueKey is empty or null.
VAL_MISSING_COMMENT_IDCommentId is empty or null.
COMMENT_NOT_FOUNDNo comment exists with the given ID on this issue, or the user lacks access.
ISSUE_NOT_FOUNDNo issue exists with the given key, or the user lacks access.
AUTH_FAILEDInvalid credentials or expired API token.

Output Fields

FieldTypeDescription
statusstring"success" or "error"
commentIdstringThe comment's Jira ID.
bodystringFull comment text body.
authorstringDisplay name of the comment author.
createdstringISO 8601 timestamp of when the comment was created.
updatedstringISO 8601 timestamp of the last edit. Equal to created if never edited.
resourcestringAlways "comment"
operationstringAlways "get"

Sample Output

{
  "status": "success",
  "commentId": "10281",
  "body": "DEPLOYMENT CONFIRMED — 2026-05-26 14:30 UTC\n\nEnvironment: production\nVersion: v2.4.1\nBuild: #882\nAll health checks passing.",
  "author": "BizFirst Automation",
  "created": "2026-05-26T14:30:05.000Z",
  "updated": "2026-05-26T14:30:05.000Z",
  "resource": "comment",
  "operation": "get"
}

Expression Reference

ExpressionTypeExample ValueUse
{{ $output.getComment.body }}stringFull comment textParse structured data embedded in comment
{{ $output.getComment.author }}string"BizFirst Automation"Verify comment was posted by automation user
{{ $output.getComment.created }}stringISO timestampCalculate time since comment was posted
{{ $output.getComment.commentId }}string"10281"Pass to comment/update for corrections

Node Policies & GuardRails

Workflow Example — Parse Structured Comment

// Step 1: Jira webhook fires on comment added
// Step 2: comment/get — retrieve comment body
{
  "resource": "comment",
  "operation": "get",
  "IssueKey": "{{ $json.webhookPayload.issueKey }}",
  "CommentId": "{{ $json.webhookPayload.commentId }}"
}
// Step 3: Function node — parse deployment status from comment body
// if body starts with "DEPLOYMENT STATUS:" extract fields
// Step 4: Route based on parsed status