Plane icon

Plane

Consume Plane API

Overview

This node interacts with the Plane API to manage issues within project modules. Specifically, the "Remove Issue" operation under the "Module Issue" resource removes an existing issue from a specified module in a project. This is useful for workflows that need to dynamically update or clean up module contents by detaching issues that are no longer relevant or have been resolved.

Common scenarios:

  • Automatically removing issues from a module when they are closed or resolved.
  • Cleaning up module issue lists based on external triggers or conditions.
  • Managing project structure programmatically by adjusting module contents.

Practical example:
You might use this node in an automation where, after an issue is marked as completed, it is removed from the module it belongs to, keeping the module's issue list current and relevant.

Properties

Name Meaning
Project ID The unique identifier of the project containing the module and issue.
Module ID The unique identifier of the module from which the issue will be removed.
Issue ID The unique identifier of the issue to remove from the specified module.

Output

The output JSON contains the response from the Plane API after attempting to remove the issue from the module. Typically, this will be an object indicating success or failure of the deletion request. The exact structure depends on the Plane API's DELETE endpoint response for /projects/{projectId}/modules/{moduleId}/module-issues/{issueId}.

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 module issues.

Troubleshooting

  • Issue not removed: Ensure that the provided Project ID, Module ID, and Issue ID are correct and correspond to existing entities in Plane.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • API rate limits or network errors: Check connectivity and Plane API status; consider adding retry logic or error handling.
  • Error messages: If the Plane API returns an error (e.g., 404 Not Found), confirm that the issue is currently assigned to the module and that IDs are accurate.

Links and References

Discussion