def get_all(cls):
        """Returns a list of all issues of a given type

        Returns:
            list of issue objects
        """
        issues = db.Issue.find(
            Issue.issue_type_id == IssueType.get(cls.issue_type).issue_type_id
        )

        return {res.issue_id: cls(res) for res in issues}