Skip to content

gnuh/jiracli.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JiraCli.Nvim is a Nvim plugin that bridges Jira-Cli with your favorite editor


Prerequisites

Required
Jira-Cli
Neovim 0.8+

Installation

use {
  "gnuh/jiracli.nvim",
  config = function()
    require("jiracli").setup()
  end
}

Default Setup Options

-- 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

Commands

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"

Keybindings

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)

Todo List

Comming soon

Releases

No releases published

Packages

No packages published

Languages