mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 15:30:15 +08:00
jira: fix error when assigned or reported are default (#7731)
Signed-off-by: Wayne Porter <wporter82@gmail.com>
This commit is contained in:
parent
6da59ff046
commit
81ed25610d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user