Youtrack allows issue management via smart commits. For the smart commits you need to know the issue ID. This extension lists all Youtrack Issues assigned you, shows a small description in the preview and returns the issue id on selection.
- Install this repository with your favorite plugin manager.
use 'schrc3b6/youtrack_telescope.nvim'
- Add youtrack to the telescope extensions
url
and token
are mandetory parameters. The query parameter can be optionally adjusted.
extensions = {
youtrack = {
url = "youtrack.example.com",
token = "perm:XXX",
query = "for: me #Unresolved ",
},
...
}
- Add keybindings. The extension can be started via:
Telescope youtrack youtrack
To leave telescope in insert mode:
require("telescope").extensions.youtrack.youtrack({ insert_mode = true })
This is my first time writing lua and my first vim plugin, so it's probably littered with bugs :)