Required |
---|
Jira-Cli |
Neovim 0.8+ |
use {
"gnuh/jiracli.nvim",
config = function()
require("jiracli").setup()
end
}
-- Default
require("jiracli").setup({
auto_cmd = {
enable = true, -- enable auto command
which_key = true, -- automatically creates which-key bindings
}
})
You need to call require("jiracli").setup()
to make it work
Action | Description |
---|---|
:JiraCliIssues |
Get all issues |
:JiraCliIssuesMe |
Get all issues related to YOU |
:JiraCliIssuesBranch |
Get Issues based on the branch that you're in |
k or up |
JiraCli navigation key |
j or down |
JiraCli navigation key |
v |
View the selected issue |
<CR> or Enter |
Open the selected issue in the browser |
:JiraCliIssuesBranch
explanation:
Get the "Issue" based on the branch that you're in.
"feat/ABCD-77/new-feature"
or
"bug-ABCD-77-found-a-bug"
The pattern is "ABCD-77" where "ABCD" is your "PROJECT-KEY"
and "77" is the "ISSUE-ID"
local opts = { noremap = true, silent = true }
keymap("n", "<leader>ja", ":JiraCliIssues<CR>", opts)
keymap("n", "<leader>jm", ":JiraCliIssuesMe<CR>", opts)
keymap("n", "<leader>jb", ":JiraCliIssuesBranch<CR>", opts)
Comming soon