Developer Portal for YouTrack and Hub Help

YouTrack REST API

YouTrack REST API lets you perform programmatically various actions in the tracker:

  • Import issues from your current bug tracking system — for smoother migration to YouTrack.

  • Create, modify, and perform other operations with issues — so you can seamlessly integrate YouTrack into your environment. For example, via automated issue submission from third-party applications.

  • Manipulate projects, custom fields and sets of values, agile boards, issue link types, and other parameters.

General Notes

The REST API returns and consumes data in JSON format. Regular content negotiation rules apply:

  • You must provide the Authorization HTTP request header for each request. The recommended authorization method is using a permanent token. To learn how to obtain a permanent token, see Manage Permanent Tokens.

    For details about supported authorization methods, see Log in to YouTrack.

  • Use the Accept HTTP request header to indicate the expected response data format: application/json.

  • Use the Content-Type HTTP request header for POST and PUT requests: application/json.

The REST API is always enabled. However, a system administrator can specify which sites (origins) are allowed to access YouTrack using REST. For more information, see Managing Global Settings.

Tools and Client Libraries Based on the YouTrack REST API

Before you start using the REST API for your own development, take a look at a few tools that use the YouTrack REST API:

  • YouTrackSharp is a .NET library for accessing the YouTrack REST API. This library is also available from the NuGet gallery.

  • YouTrack Mobile uses the REST API to pull data from a YouTrack installation and display it in a mobile app.

  • YouTrack Integration Plugin for IntelliJ IDEA and other JetBrains IDEs uses the REST API to display issue-related information directly in an IDE.

Last modified: 7 October 2024