Using an External Code Editor
To let you work where you're most comfortable, we've put together and published two packages that you can import into your code editor.
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 package in your development environment. The installation process varies based on the tool that you use to write your code. If you’re working with an IDE from JetBrains, follow the instructions provided in the documentation:
The easiest way to get started is to install the package globally with the following command:
npm install -g <package name>
The first package contains the complete YouTrack workflow API. When you plug this package into your code editor, your code-completion tools suggest valid functions, methods, and properties for all of the entities that are available in the API.
The package includes scripts that let you synchronize local changes with your YouTrack installation. The following commands are available:
|This command lists all of the workflows that are available in your YouTrack installation. To use this command, specify the following parameters: |
This command downloads the referenced workflow from your YouTrack installation.
This command uploads the workflow from the specified directory to your YouTrack installation. First, the script checks the reference directory for a