Skip to content
Command line interface for YouTrack written in Python.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
requirements.txt First version: issue manipulation Apr 21, 2019
setup.py
yt upport functional area and product fields Sep 17, 2019

README.md

Youtrack CLI

Command line interface for Youtrack designed to suit Quantlane workflow. Written for Python 2 because of official youtrack library incompatible with Python 3. This code is Python 3 compatible though.

Set-up

pip install git+https://github.com/leftys/youtrack-cli.git
echo "export YOUTRACK_API_URL='https://your-youtrack-domain.com/'" >> ~/.profile
echo "export YOUTRACK_AUTH_TOKEN='get-this-in-your-youtrack-profile'" >> ~/.profile

Examples

$ yt last --mine
 
PROJ-123 Task 1 summary
PROJ-120 Task 2 summary
(...)
$ yt issue RES 'Test task' -a some.assignee -r some.reviewer -u 'Some subproject' -t 'Short term' -m MILE-123
$ yt done RES-123
$ yt reviewed RES-123
$ yt show RES-123
$ yt browse RES-123
$ yt command RES-123 'Any YouTrack command' 
$ yt --help

Usage together with bash aliases for filling usual projects/assignees/... is recommended!

echo "alias ytabc='yt issues ABC -a my.username -r reviewer ...'" >> ~/.profile
You can’t perform that action at this time.