This shell script allows one to list all branches in the current repo and also do a lookup within JIRA to show the results. Example:
Ref Name Upstream JIRA Status Last update
689f9e7 PROJ-776-something-something-reconfigure origin Code Review 13 days ago
043ff1e PROJ-827-some-particular-task origin Failed Testing 13 days ago
3fa55b0 PROJ-849-yet-another-task. origin Code Review 2 hours ago
818602e dev origin - 2 hours ago