mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 05:23:33 +02:00
add test using named query
This commit is contained in:
@@ -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
@@ -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
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user