#!/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"