mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-19 12:43:30 +02:00
Merge pull request #52 from dbrower/master
Prefer transition names which match exactly
This commit is contained in:
@@ -666,6 +666,9 @@ func (c *Cli) CmdTransition(issue string, trans string) error {
|
||||
transName = name
|
||||
transID = id
|
||||
transMeta = transition.(map[string]interface{})
|
||||
if strings.ToLower(name) == strings.ToLower(trans) {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
if transID == "" {
|
||||
|
||||
Reference in New Issue
Block a user