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 .