YouTrack icon

YouTrack

Get data from YouTrack API

User → Get Current

AI-generated

Summary

Retrieve details about the currently authenticated YouTrack user, optionally specifying which fields to include in the response.

Inputs

  • Additional Options — Optional additional parameters for the request.
  • Fields — Comma-separated list of user fields to return. Defaults to: id, login, fullName, email, avatarUrl, online status, banned status, guest status, tags (id and name), and saved queries (id and name). If not specified, only the entity ID is returned.

Output shape

a single user object with the specified fields

The response includes only the fields specified in the 'Fields' parameter query. If no fields are specified, only the user entity ID is returned. This operation fetches data for the authenticated user (the user associated with the credentials used). No pagination or multiple records are returned.

Examples

Example 1: Retrieve current authenticated user with default fields

Set Resource to 'User', Operation to 'Get Current'. Optionally adjust 'Fields' in Additional Options.

Links

Discussion