package jira

// MatchInFields returns true if the given string value is in the Fields.
func MatchInFields(arr []FieldKey, value string) bool {
	for _, v := range arr {
		if string(v) == value {
			return true
		}
	}
	return false
}

// ErrResponse defines the err response
// type CreateErrResponse struct {
// 	ErrorMessages []interface{} `json:"errorMessages"`
// }
