YouTrack Standalone 2017.1 Help

Python Client Library

This document describes Python library that wraps YouTrack REST API.


The current implementation of the Python Client Library and import scripts is compatible with Python 2.7+. Python 3.0 is not supported.


  1. Download the latest version of YouTrack Python Client library and unzip it.
  2. Install Python


from youtrack.connection import Connection connection = Connection('', 'xxx', 'xxx')

Get Issues

# get one issue connection.getIssue('SB-1') # get first 10 issues in project JT for query 'for: me #unresolved' connection.getIssues('JT', 'for: me #unresolved', 0, 10)

Create Issue

connection.createIssue('SB', 'resttest', 'Test issue', 'Test description', '2', 'Bug', 'First', 'Open', '', '', '')

Other Methods

See method of class Connection in youtrack/

Last modified: 18 April 2017