YouTrack icon

YouTrack

Interact with YouTrack API

Actions5

Overview

This node integrates with the YouTrack API, allowing users to interact programmatically with YouTrack resources such as users and issues. It is useful for automating tasks like managing user information, creating or updating issues, and querying project data within YouTrack. Practical applications include syncing issue trackers with other tools, automating issue creation based on external events, or managing user accounts in bulk.

Properties

Name Meaning
Authentication Method of authenticating with YouTrack API. Options: "Access Token" or "OAuth2".

Output

The node outputs an array of JSON objects representing the results of the executed operations on YouTrack resources. Each item corresponds to a processed input item and contains the relevant data returned from YouTrack, structured according to the resource and operation performed (e.g., user details, issue data). In case of errors and if configured to continue on failure, the output includes error messages linked to the specific input item index.

No binary data output is produced by this node.

Dependencies

  • Requires valid authentication credentials for YouTrack, 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 the YouTrack API and n8n's credential management.

Troubleshooting

  • Common Issues:

    • Incorrect or expired authentication tokens will cause API request failures.
    • Misconfigured base URL can lead to connection errors.
    • Attempting operations on unsupported resources or invalid parameters may result in errors.
  • Error Messages:

    • Errors returned from YouTrack API are propagated; typical messages include authentication failures or resource not found.
    • If "Continue On Fail" is enabled, errors are captured per item with their message included in the output for easier debugging.
  • Resolution Tips:

    • Verify that the authentication method matches the provided credentials.
    • Ensure the YouTrack base URL is correct and accessible.
    • Check permissions of the authenticated user for the requested operations.

Links and References

Discussion