Skip to main content

YouTrack Python 3 Client Library

Project description

|build| |pypi| |codacy| |license|

This document describes Python 3 library that wraps YouTrack REST API.

Compatibility

Current implementation of the YouTrack Python 3 Client Library and scripts is compatible with YouTrack 3.x and higher REST API and Python 3.

Installation

To install YouTrack Python 3 Client Library:

pip install dohq-youtrack

Authenticating

from youtrack.connection import Connection

connection = Connection('http://teamsys.intellij.net', 'xxx', 'xxx')

Get Issues

# get one issue

connection.get_issue('SB-1')
# get first 10 issues in project JT for query 'for: me #unresolved'

connection.get_issues('JT', 'for: me #unresolved', 0, 10)

Create Issue

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

Other Methods

See method of class Connection in youtrack/connection.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dohq-youtrack, version 0.2.1.37
Filename, size File type Python version Upload date Hashes
Filename, size dohq_youtrack-0.2.1.37-py3-none-any.whl (20.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size dohq-youtrack-0.2.1.37.tar.gz (19.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page