[![Build Status](https://img.shields.io/travis/JetBrains/youtrack-scripting/master.svg?style=flat-square)](https://travis-ci.org/JetBrains/youtrack-scripting) [![official JetBrains project](http://jb.gg/badges/official-flat-square.svg)](https://confluence
Last updated 7 months ago by maksimr .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install @jetbrains/youtrack-scripting 
SYNC missed versions from official npm registry.


Build Status official JetBrains project

The @jetbrains/youtrack-scripting package contains utilities that help you manage YouTrack workflows when you work in an external code editor. This lets you write and update workflows for YouTrack in JavaScript in your preferred development environment.

Quick Start

To work with the scripting package, you need to install and run Node.js. This also installs the npm package manager that lets you work with the scripting package in your projects. Next, install the @jetbrains/youtrack-scripting package in your development environment. The easiest way to get started is to install the package globally with the following command:

npm install -g @jetbrains/youtrack-scripting

If you prefer to install packages as dependencies in your development environment, enter:

npm install --save-dev @jetbrains/youtrack-scripting

Utility Scripts

The package includes scripts that let you synchronize local changes with your YouTrack installation. The following commands are available:


youtrack-workflow list --host --token

This command lists all of the workflows that are available in your YouTrack installation. To use this command, specify the following parameters:

Parameter Description
host The base URL of your YouTrack installation. For an InCloud instance, include the trailing /youtrack.
token A permanent token that grants access to the YouTrack service. You can generate your own permanent tokens to authenticate with YouTrack on the Authentication tab of your Hub profile.


youtrack-workflow download <workflowName> --host --token [--output]

This command downloads the referenced workflow from your YouTrack installation.

If you don't specify a directory with the output parameter, a directory with the name <workflowName> is created in the current working directory and the workflow files are extracted into the new directory. Otherwise, the workflow is downloaded into the directory that is specified in the output parameter.

Here, you also need to specify values for the --host and --token parameters to gain authorized access to YouTrack.


youtrack-workflow upload <dir> --host --token

This command uploads the workflow from the specified directory to your YouTrack installation. First, the script checks the reference directory for a package.json file that contains the name of the workflow. If the file is not present or does not specify the workflow name, the name of the directory is used as the name of the uploaded workflow.

Specify values for the --host and --token parameters to gain authorized access to YouTrack.

Special Instructions for SSL Cerfiticates

If your YouTrack domain uses an SSL certificate that is issued by a known certificate authority, you can establish a connection using just your personal permanent token. Your certificate is already included in CA certificate store that is built into Node.js. For certificates that are issued by a CA that is not recognized automatically or is self-signed, you need to modify the environment variables in Node.js to recognize or ignore your certificate.

For more information, refer to the YouTrack documentation.

Current Tags

  • 0.0.23                                ...           latest (7 months ago)

23 Versions

  • 0.0.23                                ...           7 months ago
  • 0.0.22                                ...           2 years ago
  • 0.0.21                                ...           2 years ago
  • 0.0.20                                ...           2 years ago
  • 0.0.19                                ...           2 years ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Today 0
This Week 0
This Month 24
Last Day 0
Last Week 24
Last Month 48
Dependencies (3)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |