Actions16
Comment → Add
AI-generatedOverview
This node integrates with the Jira Data Center API to manage comments on Jira issues. Specifically, the "Add" operation under the "Comment" resource allows users to add a new comment to an existing Jira issue identified by its issue key.
Common scenarios where this node is beneficial include:
- Automating the addition of comments to Jira issues as part of workflows or integrations.
- Adding status updates, notes, or feedback programmatically to issues during ticket processing.
- Enriching Jira issues with additional information from external systems without manual intervention.
For example, after a support ticket is updated in another system, this node can automatically add a comment to the corresponding Jira issue summarizing the update.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method used for authenticating with Jira Data Center API. Options: Personal Access Token, Basic Auth |
| Issue Key | The unique key of the Jira issue to which the comment will be added (e.g., PROJ-123) |
| Comment Body | The content/body text of the comment to add |
Output
The node outputs a JSON object representing the newly created comment as returned by the Jira Data Center API. This typically includes fields such as the comment ID, author, body, creation timestamp, and other metadata related to the comment.
No binary data output is produced by this operation.
Dependencies
- Requires access to a Jira Data Center instance with appropriate API permissions.
- Requires either a personal access token or basic authentication credentials configured in n8n.
- The node uses the Jira REST API endpoint
/rest/api/2/issue/{issueKey}/commentto add comments.
Troubleshooting
- Invalid Issue Key: If the provided issue key does not exist or is malformed, the API will return an error. Verify the issue key format and existence in Jira.
- Authentication Errors: Incorrect or expired credentials will cause authentication failures. Ensure that the API token or basic auth credentials are valid and have sufficient permissions.
- Permission Denied: The authenticated user must have permission to add comments on the specified issue. Check Jira project and issue-level permissions.
- API Request Failures: Network issues or incorrect Jira server URL configuration can cause request failures. Confirm the Jira server URL and network connectivity.
- Error messages from the node will generally indicate the nature of the failure, e.g., "Jira Data Center API request failed:
". Use these messages to diagnose issues.