Commit 81ed2561 authored by Wayne Porter's avatar Wayne Porter Committed by Marc Cornellà
Browse files

jira: fix error when assigned or reported are default (#7731)


Signed-off-by: default avatarWayne Porter <wporter82@gmail.com>
parent 6da59ff0
...@@ -43,7 +43,7 @@ function jira() { ...@@ -43,7 +43,7 @@ function jira() {
echo "Opening new issue" echo "Opening new issue"
open_command "${jira_url}/secure/CreateIssue!default.jspa" open_command "${jira_url}/secure/CreateIssue!default.jspa"
elif [[ "$action" == "assigned" || "$action" == "reported" ]]; then elif [[ "$action" == "assigned" || "$action" == "reported" ]]; then
_jira_query $@ _jira_query ${@:-$action}
elif [[ "$action" == "dashboard" ]]; then elif [[ "$action" == "dashboard" ]]; then
echo "Opening dashboard" echo "Opening dashboard"
if [[ "$JIRA_RAPID_BOARD" == "true" ]]; then if [[ "$JIRA_RAPID_BOARD" == "true" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment