Actions18
Overview
The node provides advanced integration with the Linear API, enabling various operations on Linear resources such as issues, comments, labels, members, projects, and teams. Specifically for the Comment resource with the Update operation, this node allows users to update an existing comment's text content in markdown format.
This is useful in scenarios where you want to programmatically modify comments on issues within Linear, for example:
- Correcting or enhancing the content of a comment after it has been posted.
- Automating updates to comments based on external triggers or workflows.
- Synchronizing comment content from other systems into Linear.
Properties
| Name | Meaning |
|---|---|
| Comment ID | The unique identifier of the comment to update. |
| Body | The new text content of the comment, formatted in markdown. |
Output
The output of the update operation is a JSON object representing the updated comment. This typically includes all standard comment fields returned by the Linear API, such as the comment ID, body content, author information, timestamps, and any other metadata associated with the comment.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Linear API.
- Uses the official
@linear/sdkpackage to interact with the Linear service. - The node expects proper configuration of the Linear API credentials within n8n.
Troubleshooting
Error: "The comment resource is currently not available."
This error indicates that the comment resource operations are not implemented or supported in the current version of the node. However, the bundled code explicitly throws this error for the comment resource in general, which suggests that the comment resource might not be fully supported despite the properties being defined. Users should verify if the node version supports comment updates or consider alternative methods.Missing or invalid Comment ID
Ensure that the Comment ID property is correctly set and corresponds to an existing comment in Linear.Invalid Body content
The body must be a valid markdown string. Invalid formatting may cause unexpected results.API Authentication Errors
Verify that the API key credential is correctly configured and has sufficient permissions to update comments.General API errors
Network issues, permission problems, or invalid parameters can cause failures. Review error messages for details.
Links and References
- Linear API Documentation – Official API docs for understanding comment objects and mutations.
- @linear/sdk GitHub Repository – SDK used by the node for API interactions.
- Markdown Guide – Reference for formatting comment bodies.
Note: Although the input properties and operation are defined for updating comments, the source code explicitly throws an error stating the comment resource is currently not available. This suggests that the update operation for comments is not implemented in this node version. Users should confirm support status before use.