@staticmethod
def find_issue_type_by_name(project, name):
    """
            Return a Redmine tracker matching name ('Bug').

            .. note::

                If there is no match then return the first one!
        """
    for trk in project.trackers:
        if str(trk).lower() == name.lower():
            return trk
    return project.trackers[0]
