add "rank" command allow ordering backlog issues in agile projects

This commit is contained in:
Cory Bennett
2016-08-26 19:44:38 -07:00
parent 6d23899dd5
commit e4cc9c6967
3 changed files with 78 additions and 2 deletions
+9
View File
@@ -63,6 +63,7 @@ Usage:
jira DUPLICATE dups ISSUE
jira BLOCKER blocks ISSUE
jira vote ISSUE [--down]
jira rank ISSUE (after|before) ISSUE
jira watch ISSUE [-w WATCHER] [--remove]
jira (trans|transition) TRANSITION ISSUE [--noedit] <Edit Options>
jira ack ISSUE [--edit] <Edit Options>
@@ -183,6 +184,7 @@ Command Options:
"req": "request",
"request": "request",
"vote": "vote",
"rank": "rank",
"worklog": "worklog",
"addworklog": "addworklog",
}
@@ -507,6 +509,13 @@ Command Options:
} else {
err = c.CmdVote(args[0], true)
}
case "rank":
requireArgs(3)
if args[1] == "after" {
err = c.CmdRankAfter(args[0], args[2])
} else {
err = c.CmdRankBefore(args[0], args[2])
}
case "request":
requireArgs(1)
data := ""