public static IssueType getType(String typename) {
        IssueType result = null;
        for (IssueType type : new IssueTypeJpaController(DataBaseManager
                .getEntityManagerFactory()).findIssueTypeEntities()) {
            if (type.getTypeName().equals(typename)) {
                result = type;
                break;
            }
        }
        return result;
    }
public static IssueType getType(String typename) {
        IssueType result = null;
        for (IssueType type : new IssueTypeJpaController(DataBaseManager
                .getEntityManagerFactory()).findIssueTypeEntities()) {
            if (type.getTypeName().equals(typename)) {
                result = type;
                break;
            }
        }
        return result;
    }
public static IssueType getType ( String typename ) { IssueType result = null ; for ( IssueType type : new IssueTypeJpaController ( DataBaseManager . getEntityManagerFactory ( ) ) . findIssueTypeEntities ( ) ) { if ( type . getTypeName ( ) . equals ( typename ) ) { result = type ; break ; } } return result ; }
Get an Issue Type by name.

@param typename name to search for
@return Issue Type for the specified name or null if not found.
Get an Issue Type by name .