alfred-youtrack

Integrate Alfred into your YouTrack workflow

Usage no npm install needed!

<script type="module">
  import alfredYoutrack from 'https://cdn.skypack.dev/alfred-youtrack';
</script>

README

Integrate Alfred into your YouTrack workflow

Allows for quick issue search in your pubic or private boards.

Preview Screenshot

Install

$ npm i -g alfred-youtrack

or

$ git clone https://github.com/harvestnide/alfred-youtrack.git && cd alfred-youtrack && npm install

Requires Node.js 4+ and the Alfred Powerpack.

Thanks to sindresorhus/alfy - that's it. Just don't forget to add configs!

Commands

  • yts <search-query> would perform substring search, Using issue id, issue title and issue description as inputs.
  • ytq <search-query> would perform search using YouTrack query language.

ytq is far more flexible that yts (because YouTrack queries are awesome :wink:), but comes with a downside of requiring additional request for basically each new input character.

Configuration reference

Workflow requires two inputs to function properly. Refer to official docs linked below.

Parameter Link Notes
baseUrl API URL and Endpoints https:// scheme prefix is required
apiToken API Token

Extending functionality

Project has both JS dist and TS src included, as well as tsc config. Feel free to open issues and PRs, btw

Changelog:

  • 0.4.1
    • Added Shift and Ctrl modifiers.
    • Shift+Enter will copy markdown-formatted link to selected issue, for example: [FOO-21: Bar -> Baz](https://youtrack.jetbrains.com/issue/foo-21)
    • Ctrl+Enter will copy Project ID and Title for selected issue, for example FOO-21: Bar -> Baz

License

MIT © Veniamin Sazonov