From 2deb729f6410ed858f14f79cd93c0e20af7ea95d Mon Sep 17 00:00:00 2001 From: Matthew Manuel Date: Sun, 24 Dec 2017 18:59:04 +1100 Subject: [PATCH] Uppercases the issue in open issue command in the JIRA plugin --- plugins/jira/jira.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jira/jira.plugin.zsh b/plugins/jira/jira.plugin.zsh index 0340dd7f..d492e49f 100644 --- a/plugins/jira/jira.plugin.zsh +++ b/plugins/jira/jira.plugin.zsh @@ -64,7 +64,7 @@ function jira() { local issue_arg=$(git rev-parse --abbrev-ref HEAD) local issue="${jira_prefix}${issue_arg}" else - local issue_arg=$action + local issue_arg=$( tr '[a-z]' '[A-Z]' <<< $action) local issue="${jira_prefix}${issue_arg}" fi local url_fragment=''