func (t Transitions) Find(name string) *Transition {
	name = strings.ToLower(name)
	matches := Transitions{}
	for _, trans := range t {
		if strings.ToLower(trans.Name) == name {
			return trans
		}
		if strings.Contains(strings.ToLower(trans.Name), name) {
			matches = append(matches, trans)
		}
	}
	if len(matches) > 0 {
		return matches[0]
	}
	return nil
}
Find will search the transitions for one that matches
the given name.  It will return a valid trantion that matches
or nil
package jiradata
import (
	"strings"
)