add test using named query

This commit is contained in:
Cory Bennett
2017-09-17 18:11:57 -07:00
parent bb66e58dfd
commit a04c3a4c61
2 changed files with 13 additions and 1 deletions
+4
View File
@@ -6,6 +6,10 @@ user: gojira
project: BASIC
queries:
todo: |
resolution = unresolved {{if .project}}AND project = '{{.project}}'{{end}} AND status = 'To Do'
custom-commands:
- name: env
help: print the JIRA environment variables available to custom commands
+9 -1
View File
@@ -4,7 +4,7 @@ cd $(dirname $0)
jira="../jira"
. env.sh
PLAN 86
PLAN 88
# reset login
RUNS $jira logout
@@ -52,6 +52,14 @@ DIFF <<EOF
$(printf %-12s $issue:) summary
EOF
###############################################################################
## List issues using a named query
###############################################################################
RUNS $jira ls --project BASIC -n todo
DIFF <<EOF
$(printf %-12s $issue:) summary
EOF
###############################################################################
## List all issues, using the table template
###############################################################################