No description
| .env.exapmle | ||
| .gitignore | ||
| eslint.config.cjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Workflows
YouTrack workflows for Workflows
Setup
- Install dependencies:
npm install - Get permanent token from your YouTrack instance (Profile → Authentication → New Token)
- Create
.envfile with your credentials:YOUTRACK_BASE_URL=https://your-youtrack-instance.com YOUTRACK_TOKEN=perm:your-permanent-token-here - 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 YouTracknpm run check- Lint and type check