Get a version Resource by its name present on a project.

        :param project: ID or key of the project to get versions from
        :type project: str
        :param version_name: name of the version to search for
        :type version_name: str
        :rtype: Optional[Version]

def get_project_version_by_name(self, project, version_name):
        """Get a version Resource by its name present on a project.

        :param project: ID or key of the project to get versions from
        :type project: str
        :param version_name: name of the version to search for
        :type version_name: str
        :rtype: Optional[Version]
        """
        versions = self.project_versions(project)
        for version in versions:
            if version.name == version_name:
                return version