No description
Find a file
2026-03-31 22:31:16 +05:00
.env.exapmle feat: initial structure 2026-03-31 22:31:16 +05:00
.gitignore feat: initial structure 2026-03-31 22:31:16 +05:00
eslint.config.cjs feat: initial structure 2026-03-31 22:31:16 +05:00
package-lock.json feat: initial structure 2026-03-31 22:31:16 +05:00
package.json feat: initial structure 2026-03-31 22:31:16 +05:00
README.md feat: initial structure 2026-03-31 22:31:16 +05:00
tsconfig.json feat: initial structure 2026-03-31 22:31:16 +05:00

Workflows

YouTrack workflows for Workflows

Setup

  1. Install dependencies: npm install
  2. Get permanent token from your YouTrack instance (Profile → Authentication → New Token)
  3. Create .env file with your credentials:
    YOUTRACK_BASE_URL=https://your-youtrack-instance.com
    YOUTRACK_TOKEN=perm:your-permanent-token-here
    
  4. Verify setup: npx ytw list

Usage

  • Add new workflow: npx ytw add
  • Sync workflows: npx ytw sync
  • Push changes: npx ytw push
  • Pull from YouTrack: npx ytw pull
  • Watch for changes: npx ytw sync --watch

TypeScript Support

Generate YouTrack type definitions for your project:

npx ytw types

This creates TypeScript definitions in the types directory that can be used via JSDoc annotations:

/** @import { Issue, Project } from '../types/youtrack' */

Scripts

  • npm run sync - Sync workflows with YouTrack
  • npm run check - Lint and type check