small pixel drawing of a pufferfish dotfiles

bin/zora/jira-bemenu

1 2 3 4 5 6 7 8 9 10
#!/bin/sh -e
#
# this script launches fuzzel, takes a jira
# ticket, and opens it

# upcase because jira wants that i guess
jira_id=$(printf "" | bemenu -c -W 0.2 | tr '[a-z]' '[A-Z]')
[ "$jira_id" = "" ] && exit 1

xdg-open "https://do-internal.atlassian.net/browse/$jira_id"