Skip to content

Command line interface for YouTrack written in Python.

Notifications You must be signed in to change notification settings

leftys/youtrack-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

pip2 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 -b 'My Agile Board'
$ 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 -b 'My Agile Board' ...'" >> ~/.profile

About

Command line interface for YouTrack written in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages