YouTrack icon

YouTrack

Interact with YouTrack API

Actions5

Overview

This node integrates with the YouTrack API to manage issues and users. Specifically, for the Issues - Delete operation, it deletes an issue identified by its Issue ID from a YouTrack project. This is useful in automation workflows where you want to programmatically remove outdated or resolved issues without manual intervention.

Practical examples include:

  • Automatically deleting test or temporary issues after certain conditions are met.
  • Cleaning up issues that were created erroneously.
  • Integrating with other systems to synchronize issue lifecycle events.

Properties

Name Meaning
Authentication Method of authenticating with YouTrack API. Options: "Access Token" or "OAuth2".
Issue ID The unique identifier of the issue to delete. Required for delete, get, and update operations.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will be confirmation of deletion or an empty object if no content is returned by the API. The output json field contains the response from YouTrack after attempting to delete the specified issue.

No binary data output is involved in this operation.

Dependencies

  • Requires valid authentication credentials for YouTrack API access, either via an Access Token or OAuth2.
  • The base URL for the YouTrack instance must be configured in the credentials.
  • No additional external dependencies beyond standard HTTP requests to YouTrack API.

Troubleshooting

  • Common Issues:

    • Invalid or missing Issue ID: The node requires a valid Issue ID; ensure it is correctly provided.
    • Authentication failures: Check that the API token or OAuth2 credentials are valid and have sufficient permissions.
    • Network or connectivity problems: Ensure the YouTrack base URL is reachable from n8n.
  • Error Messages:

    • Errors related to authorization typically indicate invalid credentials or insufficient permissions.
    • "Issue not found" errors occur if the Issue ID does not exist or has already been deleted.
    • API rate limits or server errors may cause request failures; retry or check YouTrack server status.

Links and References

Discussion