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 -b | tr '[a-z]' '[A-Z]')
[ "$jira_id" = "" ] && exit 1

xdg-open "https://jira.internal.digitalocean.com/browse/$jira_id"