Merge branch 'master' into master

This commit is contained in:
Marc Cornellà
2019-05-08 20:40:36 +02:00
committed by GitHub
446 changed files with 14597 additions and 3679 deletions

View File

@@ -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'
)

View File

@@ -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" == "myissues" ]]; then
echo "Opening my issues"
open_command "${jira_url}/issues/?filter=-1"