Actions16
Comment → Get All
AI-generatedOverview
This node interacts with the Jira Data Center API to manage comments on Jira issues. Specifically, the "Get All" operation for the "Comment" resource retrieves all comments associated with a specified Jira issue. This is useful when you want to programmatically fetch and analyze all discussion or notes attached to an issue within Jira.
Common scenarios include:
- Aggregating all comments from an issue for reporting or auditing.
- Synchronizing comments from Jira into another system.
- Monitoring issue discussions automatically.
For example, you could use this node to get all comments on issue "PROJ-123" and then process them in a workflow to send notifications or generate summaries.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication: "Personal Access Token" or "Basic Auth". |
| Issue Key | The key of the Jira issue to retrieve comments from (e.g., "PROJ-123"). Required. |
| Return All | Whether to return all comments or limit the number of results. |
| Limit | Maximum number of comments to return if "Return All" is false. Range: 1 to 500. Default 50. |
Output
The output is a JSON array where each item represents a comment object retrieved from the Jira issue. Each comment object contains fields as defined by the Jira API, typically including:
id: The unique identifier of the comment.body: The content/body of the comment.author: Information about the user who made the comment.created: Timestamp when the comment was created.- Other metadata related to the comment.
If the node is configured to return all comments, it fetches all available comments; otherwise, it limits the results according to the "Limit" property.
No binary data output is produced by this operation.
Dependencies
- Requires access to a Jira Data Center instance.
- Requires credentials for authentication, either via a personal access token or basic authentication.
- The node expects the Jira server URL to be configured in the credentials.
- No additional external dependencies beyond the Jira API and n8n's HTTP request helpers.
Troubleshooting
Common Issues:
- Invalid or missing issue key: Ensure the "Issue Key" is correct and exists in Jira.
- Authentication failures: Verify that the provided API token or basic auth credentials are valid and have permission to read comments.
- API rate limits or network errors: Check connectivity and Jira server status.
Error Messages:
"Jira Data Center API request failed: ..."indicates a problem with the API call, such as invalid credentials, incorrect URL, or insufficient permissions."The operation "getAll" is not supported for resource "comment"would indicate a misconfiguration but should not occur here since "getAll" is supported.
Resolution Tips:
- Double-check the issue key format and existence.
- Confirm credentials and their scopes/permissions.
- Review Jira server logs if accessible for more details on failures.