YouTrack icon

YouTrack

Interact with YouTrack API

Actions5

Overview

This node integrates with the YouTrack API to retrieve information about users. Specifically, when using the "Users" resource with the "Info" operation, it fetches detailed user data based on specified fields. This is useful for workflows that need to access user profiles, verify user statuses, or gather user metadata within YouTrack projects.

Practical examples include:

  • Fetching user details to display in a dashboard.
  • Validating if a user is banned or active before assigning tasks.
  • Extracting email and full name for notification purposes.

Properties

Name Meaning
Authentication Method of authenticating with YouTrack API. Options: Access Token, OAuth2
Receive Fields Comma-separated list of user fields to retrieve. Default includes: type, banned, email, fullName, guest, id, login, ringId

Output

The node outputs an array of JSON objects representing user information. Each object contains the requested fields as specified in the "Receive Fields" property. For example, fields like email, fullName, banned status, and id will be included depending on the input.

No binary data output is produced by this node.

Dependencies

  • Requires valid authentication credentials for YouTrack API, either via an API 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

  • Authentication errors: Ensure the provided API token or OAuth2 credentials are valid and have sufficient permissions.
  • Invalid fields: If specifying custom fields in "Receive Fields," ensure they exist in the YouTrack user schema; otherwise, the API may return errors or incomplete data.
  • API connectivity issues: Verify network access to the YouTrack server and correct base URL configuration.
  • Error handling: If the node is set to continue on failure, errors for individual items will be returned in the output with error messages; otherwise, execution stops on first error.

Links and References

Discussion