def issue_type_by_name(self, name):
        """
        :param name: Name of the issue type
        :type name: str
        :rtype: IssueType
        """
        issue_types = self.issue_types()
        try:
            issue_type = [it for it in issue_types if it.name == name][0]
        except IndexError:
            raise KeyError("Issue type '%s' is unknown." % name)
        return issue_type
:param name: Name of the issue type
        :type name: str
        :rtype: IssueType