File tree Expand file tree Collapse file tree 4 files changed +11
-138
lines changed Expand file tree Collapse file tree 4 files changed +11
-138
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ src/github.com/op/
7
7
src /gopkg.in /
8
8
jira
9
9
jira.exe
10
- schemas /* .json
10
+ schemas /* .json
11
+ t /issue.props
Original file line number Diff line number Diff line change @@ -376,13 +376,17 @@ Command Options:
376
376
opts ["resolution" ] = "Duplicate"
377
377
trans , err := c .ValidTransitions (args [0 ])
378
378
if err == nil {
379
- close := trans .Find ("close" )
380
- if close != nil {
379
+ if trans .Find ("close" ) != nil {
381
380
err = c .CmdTransition (args [0 ], "close" )
382
- } else {
381
+ } else if trans . Find ( "done" ) != nil {
383
382
// for now just assume if there is no "close", then
384
383
// there is a "done" state
385
384
err = c .CmdTransition (args [0 ], "done" )
385
+ } else if trans .Find ("start" ) != nil {
386
+ err = c .CmdTransition (args [0 ], "start" )
387
+ if err == nil {
388
+ err = c .CmdTransition (args [0 ], "stop" )
389
+ }
386
390
}
387
391
}
388
392
@@ -435,7 +439,7 @@ Command Options:
435
439
case "in-progress" :
436
440
requireArgs (1 )
437
441
setEditing (false )
438
- err = c .CmdTransition (args [0 ], "In Progress" )
442
+ err = c .CmdTransition (args [0 ], "Progress" )
439
443
case "comment" :
440
444
requireArgs (1 )
441
445
setEditing (true )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export JIRA_LOG_FORMAT="%{level:-5s} %{message}"
7
7
PLAN 84
8
8
9
9
# cleanup from previous failed test executions
10
- $jira ls | awk -F: ' {print $1}' | while read issue; do ../jira done $issue ; done
10
+ ( $jira ls | awk -F: ' {print $1}' | while read issue; do ../jira done $issue ; done) | sed ' s/^/# CLEANUP: /g '
11
11
12
12
# reset login
13
13
RUNS $jira logout
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments