Arekkusuva / jira-nvim

Control Jira from Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jira.nvim

Jira client as an extension for telescope.nvim

⚠️ Work in progress

🌠 Features

  • Search issues using JQL
  • Transition issues from one status to another

βœ”οΈ Requirements

πŸ“¦ Installation

Using packer.nvim

use {
  "Arekkusuva/jira-nvim",
  requires = {
    "nvim-telescope/telescope.nvim",
  },
  run = "make build",
  config = function ()
    require("jira-nvim").setup({
      host = "https://your-domain.atlassian.com",
      token_path = "~/.config/jira-nvim/token.txt",
    })
  end
}

πŸ€– Commands

There is only one command available JiraQuery <your_jql>, which executes query and shows found issues using telescope.

πŸš€ Actions

Transition from one status to another

  1. Select the issue to move and press <C-t>
  2. Select the desired status and press <CR>

Copy issue URL

  1. Select the issue and press <C-y>

Open issue in browser

  1. Select the issue and press <C-b>

πŸ“ƒ Configuration sample

With which-key.nvim

require("which-key").register({
  j = {
    name = "Jira",
    t = { "<cmd>JiraQuery project = <your_project> and status = 'To Do'<cr>", "To Do" },
    p = { "<cmd>JiraQuery project = <your_project> and status = 'In Progress'<cr>", "In Progress" },
    d = { "<cmd>JiraQuery project = <your_project> and status = 'Done'<cr>", "Done" },
  },
}, { prefix = "<leader>" })

πŸ“‹ To-dos

  • Use specific version of Jira API
  • Fix error model in jira client
  • Add issue detailed view with description and comments
  • Ability to edit issue description
  • Ability to add and edit comments

About

Control Jira from Neovim


Languages

Language:Rust 67.8%Language:Lua 30.1%Language:Makefile 1.6%Language:Vim Script 0.5%