Skip to content

Instantly share code, notes, and snippets.

@JaSei
Last active November 30, 2020 09:24
Show Gist options
  • Save JaSei/52cb488ded7ff200d8ec626c6bdcdf21 to your computer and use it in GitHub Desktop.
Save JaSei/52cb488ded7ff200d8ec626c6bdcdf21 to your computer and use it in GitHub Desktop.
(go-jira + fzf + pygmentize) v0.1.0
# jira - https://github.com/go-jira/jira
#alt-o open issue in browser
#alt-e edit ticket
#alt-c close ticket
#enter/ctrl-c close fzf
jira view $(jira list -l 1000 -q "project=SCAV AND resolution=unresolved" | fzf -d":" --preview "jira view {1} | pygmentize -l yaml -O style=solarizeddark" --bind="alt-o:execute-silent(jira browse {1}),alt-e:execute(jira edit {1} < /dev/tty > /dev/tto),alt-c:execute(jira close {1})" | cut -d: -f1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment