diff options
author | Wayne Porter <wporter82@users.noreply.github.com> | 2019-05-07 09:11:28 -0700 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2019-05-07 18:11:28 +0200 |
commit | 81ed25610dd6a7de858c38fa5bfb1545ebfc46e0 (patch) | |
tree | 630f6fb23814e9f10bb933642fbefdae88797dc1 | |
parent | 6da59ff046d7a81483345d0e16333a69eb96ccc6 (diff) | |
download | zsh-81ed25610dd6a7de858c38fa5bfb1545ebfc46e0.tar.gz zsh-81ed25610dd6a7de858c38fa5bfb1545ebfc46e0.tar.bz2 zsh-81ed25610dd6a7de858c38fa5bfb1545ebfc46e0.zip |
jira: fix error when assigned or reported are default (#7731)
Signed-off-by: Wayne Porter <wporter82@gmail.com>
-rw-r--r-- | plugins/jira/jira.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |