Skip to content

Latest commit

 

History

History
82 lines (62 loc) · 1.68 KB

README.md

File metadata and controls

82 lines (62 loc) · 1.68 KB

Jirator

Jira TUI application, will maybe not work with Jira Cloud.

screenshot

Feature

  • Basic vim motions
  • Fuzzy Search and error correction (Levenshtein Distance)
  • Assign issues to your account
  • Transission Jira status like Start Progress, Close, Resolve...
  • Open and write comments
  • Show watchers and watch issues
  • Open your own list of JQL searches
  • Open the current issue in the browser

installation

Get Access Token

Go to your profile https://jira.example.com/secure/ViewProfile.jspa and generate a Personal Access Tokens.

ENV

export JIRA_HOST="jira.example.com"
export JIRA_API_TOKEN="123"
export JIRA_JQL_LIST='[["Issues CurrentUser","assignee = currentUser() AND resolution = Unresolved ORDER BY updated DESC"]]'
git clone [email protected]:tinoschroeter/Jirator.git
cd Jirator

npm install
npm install -g .

jirator

Update

cd Jirator
git pull

JQL filter

[
  [
    "Issues CurrentUser",
    "assignee = currentUser() AND resolution = Unresolved ORDER BY updated DESC",
  ],
  [
    "Filter Quckwin List",
    "project = <PROJECT> AND assignee = <ASSIGNEE> AND status != Closed AND labels = quickwin",
  ],
  [
    "Watched Issues",
    "watcher = currentUser() AND resolution = Unresolved ORDER BY updated DESC",
  ],
  [
    "Backlog List",
    "project = <PROJECT> AND assignee = <ASSIGNEE> AND status != Closed ORDER BY priority",
  ],
];

Vim

vim.keymap.set("n", "<leader>j", function()
  Snacks.terminal.open({ "jirator", vim.api.nvim_buf_get_name(0) })
end, { desc = "Jira" })

Links