LinearEnhanced icon

LinearEnhanced

Consume Linear API

Actions5

Overview

The LinearEnhanced node for n8n allows you to interact with the Linear API, specifically managing issues. The Issue → Delete operation enables users to delete an existing issue in their Linear workspace by specifying its Issue ID. This is useful for automating project management workflows, such as cleaning up obsolete or duplicate issues directly from your automation pipelines.

Practical Example:
You might use this node in a workflow that automatically deletes issues marked as "invalid" or "spam" after review, or as part of a cleanup process triggered by another system.

Properties

Name Meaning
Authentication Selects the authentication method. Options: API Token
Issue ID The unique identifier of the issue to be deleted. (Required)

Output

  • The output will be a JSON object containing the result of the delete operation.
  • If successful, it typically includes confirmation details about the deleted issue (such as its ID).
  • If an error occurs and "Continue On Fail" is enabled, the output will include an error field with the error message.

Example output on success:

{
  "success": true,
  "id": "issue-123"
}

Example output on failure (with Continue On Fail):

{
  "error": "Issue not found"
}

Dependencies

  • External Service: Requires access to the Linear API.
  • API Key: You must provide a valid Linear API token via n8n credentials (linearEnhancedApi).

Troubleshooting

  • Invalid API Token:
    Error: "The security token included in the request is invalid"
    Resolution: Check that your API token is correct and has sufficient permissions.

  • Issue Not Found:
    Error: "Issue not found"
    Resolution: Ensure the Issue ID provided exists in your Linear workspace.

  • Network/Connectivity Issues:
    Errors related to network failures may occur if n8n cannot reach the Linear API.
    Resolution: Verify network connectivity and Linear API status.

Links and References

Discussion