From 2aa2ea744eff2322b1fc2a31be556d95dda83797 Mon Sep 17 00:00:00 2001 From: Eric Hudon Date: Sun, 15 Apr 2018 07:17:23 -0400 Subject: Change the br argument to branch to follow PR #6678. (#6680) --- plugins/jira/_jira | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/jira') diff --git a/plugins/jira/_jira b/plugins/jira/_jira index 890f97f4c..d64614233 100644 --- a/plugins/jira/_jira +++ b/plugins/jira/_jira @@ -7,7 +7,7 @@ _1st_arguments=( 'dashboard:open the dashboard' 'reported:search for issues reported by a user' 'assigned:search for issues assigned to a user' - 'br:open the issue named after the git branch of the current directory' + 'branch:open the issue named after the git branch of the current directory' 'dumpconfig:display effective jira configuration' ) -- cgit v1.2.3-70-g09d2 From 81ed25610dd6a7de858c38fa5bfb1545ebfc46e0 Mon Sep 17 00:00:00 2001 From: Wayne Porter Date: Tue, 7 May 2019 09:11:28 -0700 Subject: jira: fix error when assigned or reported are default (#7731) Signed-off-by: Wayne Porter --- plugins/jira/jira.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/jira') diff --git a/plugins/jira/jira.plugin.zsh b/plugins/jira/jira.plugin.zsh index 052481a60..fcf8b2959 100644 --- a/plugins/jira/jira.plugin.zsh +++ b/plugins/jira/jira.plugin.zsh @@ -43,7 +43,7 @@ function jira() { echo "Opening new issue" open_command "${jira_url}/secure/CreateIssue!default.jspa" elif [[ "$action" == "assigned" || "$action" == "reported" ]]; then - _jira_query $@ + _jira_query ${@:-$action} elif [[ "$action" == "dashboard" ]]; then echo "Opening dashboard" if [[ "$JIRA_RAPID_BOARD" == "true" ]]; then -- cgit v1.2.3-70-g09d2