Plane icon

Plane

Consume Plane API

Overview

This node interacts with the Plane API to manage comments within a project management context. Specifically, for the Comment - Delete operation, it deletes a comment identified by its ID from a specific issue within a project.

Common scenarios where this node is useful include:

  • Automating cleanup of outdated or irrelevant comments on issues.
  • Integrating with other workflows that require removing comments after certain conditions are met (e.g., issue resolution, duplicate comment detection).
  • Managing comment lifecycle programmatically in bulk operations.

Example: Automatically delete a comment when an issue is closed or when a comment contains sensitive information that must be removed.

Properties

Name Meaning
Project ID The unique identifier of the project containing the issue and comment.
Issue ID The unique identifier of the issue to which the comment belongs.
Comment ID The unique identifier of the comment to be deleted.

Output

The output JSON will contain the response from the Plane API after attempting to delete the specified comment. Typically, for a delete operation, this might be an empty object or confirmation of deletion. If the deletion fails, an error message will be returned.

No binary data output is involved in this operation.

Dependencies

  • Requires access to the Plane API via an authenticated API key credential configured in n8n.
  • The node uses internal helper functions to make HTTP requests to the Plane API endpoints.
  • Proper permissions on the Plane API are necessary to delete comments.

Troubleshooting

  • Common Issues:

    • Invalid or missing Project ID, Issue ID, or Comment ID parameters will cause the request to fail.
    • Insufficient permissions or invalid API credentials can result in authorization errors.
    • Attempting to delete a non-existent comment will likely return a not found error.
  • Error Messages:

    • "404 Not Found": The specified comment, issue, or project does not exist. Verify IDs.
    • "401 Unauthorized" or "403 Forbidden": Check API credentials and permissions.
    • Network or timeout errors: Ensure connectivity to the Plane API endpoint.
  • Resolution Tips:

    • Double-check all IDs used in the node parameters.
    • Confirm API key validity and scope.
    • Use the "Continue On Fail" option in n8n if you want the workflow to proceed despite individual failures.

Links and References

Discussion