All Projects → shanehofstetter → youtrack-cli

shanehofstetter / youtrack-cli

Licence: other
Command Line Tool for interacting with youtrack

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to youtrack-cli

laravel-youtrack-sdk
Laravel wrapper for the YouTrack PHP Software Development Kit provides set of tools to interact with JetBrains YouTrack.
Stars: ✭ 17 (+21.43%)
Mutual labels:  jetbrains, youtrack
youtrack
YouTrack Python 3 Client Library
Stars: ✭ 22 (+57.14%)
Mutual labels:  jetbrains, youtrack
fadable
Fade in elements as they move into view, at both the bottom and top of the viewport.
Stars: ✭ 16 (+14.29%)
Mutual labels:  npm-package
intellij-neos
Support for the Neos CMS in Intellij IDEA / PhpStorm
Stars: ✭ 37 (+164.29%)
Mutual labels:  jetbrains
angular2-yandex-maps
Angular 2 components Yandex Maps.
Stars: ✭ 26 (+85.71%)
Mutual labels:  npm-package
youtube-playlist
❄️ Extract links, ids, and names from a youtube playlist
Stars: ✭ 73 (+421.43%)
Mutual labels:  npm-package
validid
A Javascript library to validate ID card numbers of China, Taiwan, Hong Kong and South Korea
Stars: ✭ 37 (+164.29%)
Mutual labels:  npm-package
djb2a
DJB2a non-cryptographic hash function
Stars: ✭ 31 (+121.43%)
Mutual labels:  npm-package
resharper-presentation-assistant
ReSharper extension to show executing commands and keystrokes
Stars: ✭ 49 (+250%)
Mutual labels:  jetbrains
ts-ci
🚀 A starter for TS projects meant to be published on NPM.
Stars: ✭ 282 (+1914.29%)
Mutual labels:  npm-package
react-folder-tree
A versatile react treeview library that supports custom icons and event handlers
Stars: ✭ 56 (+300%)
Mutual labels:  npm-package
rescheme
JSON Rescheme project will help you change the JSON structure easily using declarative syntax
Stars: ✭ 16 (+14.29%)
Mutual labels:  npm-package
front-matter-manipulator
A utility for parsing and manipulating documents with Front Matter
Stars: ✭ 25 (+78.57%)
Mutual labels:  npm-package
v-svg-icons
Svg icons for VueJS.
Stars: ✭ 36 (+157.14%)
Mutual labels:  npm-package
react-microsoft-login
Microsoft services authorization with React.
Stars: ✭ 65 (+364.29%)
Mutual labels:  npm-package
JetBrains-scheme
JetBrains主题,更完美的高亮。支持 IntelliJ IDEA、phpstorm、goland、webstorm
Stars: ✭ 25 (+78.57%)
Mutual labels:  jetbrains
ansicolor
A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.
Stars: ✭ 91 (+550%)
Mutual labels:  npm-package
titanium-vue
Use Vue.js to easily create native mobile apps with Axway Appcelerator Titanium.
Stars: ✭ 45 (+221.43%)
Mutual labels:  npm-package
useCustomHooks
📦 npm package containing a set of custom hooks for your next React project.
Stars: ✭ 12 (-14.29%)
Mutual labels:  npm-package
EverydayFun
A simple NPM package which can return everyday quotes, jokes, riddles and interesting facts!
Stars: ✭ 35 (+150%)
Mutual labels:  npm-package

youtrack-cli

Command Line Tool for interacting with youtrack

Build Status npm NpmLicense

Install

npm install -g youtrack-cli
yarn global add youtrack-cli

Usage

After you've installed the package globally, youtrack-cli will be available as youtrack in your command line.

Getting started

To setup the cli (set the URL, provide your credentials), run:

$ youtrack setup

This will guide you through the setup process.

Commands

youtrack -h

Available commands are:

project|p      manage projects
user|u         manage users
issue|i        manage issues
workitem|w     manage workitems
setup          setup youtrack cli

Projects

$ youtrack project <subcommand> <options>

Available subcommands:

list|ls [options]  list all accessible projects
list
Options:
  -r, --raw   print raw json
  -d, --desc  print description (does not apply when option --raw is used

Example:

$ youtrack project ls

image

Users

$ youtrack user <subcommand> <options>

Available subcommands:

info|i [options]        show info about current user
show [options] <login>  show info about user

Issues

$ youtrack issue <subcommand> <options>

Available subcommands:

find|f [options]            search issues with a query (interactive)
show|s [options] <issueId>  show issue info
delete|d [options] <issue>  delete an issue by its id
create|c                    creates an issue (interactive)
find
Options:
  -q, --query           non-interactive query
  -r, --raw             print raw json
  -m, --max <max>       limit number of issues shown
  -f, --fields <field>  which fields to display

Example:

$ youtrack issue f

image

Work-Items (Timetracking)

$ youtrack workitem <subcommand> <options>

Available subcommands:

list|ls [options] <issueId>  list all workitems for issue
create|c [options]           create new work item for an issue (interactive)
delete|d                     delete work item of an issue (interactive)
edit|e                       edit work item of an issue (interactive)
list
Options:
  -r, --raw             print raw json

Example:

$ youtrack workitem ls T1-2

image

create

Create a new work item for an issue in interactive mode. If all parameters are given via options, the interactive mode is skipped.

-i, --issue <issue>                  issue id
-d, --duration <duration>            duration (e.g. "1h 30m")
--date <date>                        date
-w, --worktype <worktype>            work-type
--desc, --description <description>  description
-r, --raw                            print raw json
-h, --help                           output usage information

Example:

$ youtrack w c --issue "T1-1" --duration "1h 30m" --date "6.11.2018" --worktype "testing" --description "tested it in IE"

You can also start the interactive mode by omitting all Options:

$ youtrack w c

Issue Comments

$ youtrack comment <subcommand> <options>

Available subcommands:

list|ls [options] <issueId>  list all comments of an issue
create|c [options]           add comment to an issue. starts interactive mode if parameters are omitted.
delete|d                     delete a comment (interactive
edit|e                       update a comment (interactive
create

Example:

$ youtrack comment create -i T1-1 -c "my comment"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].