From cfebcf771ec5a996b5fbe3ddca0ef9829f6fc97a Mon Sep 17 00:00:00 2001 From: Jameer Pathan <21165044+jameerpathan111@users.noreply.github.com> Date: Mon, 7 Oct 2024 18:50:27 +0200 Subject: [PATCH] Update is_open_jira issue handler functionality (#16594) (cherry picked from commit 1baabf9b3029de429ef874ba4d9e4bc4cac4520b) --- robottelo/utils/issue_handlers/jira.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/robottelo/utils/issue_handlers/jira.py b/robottelo/utils/issue_handlers/jira.py index e48e32e6b77..404ac85e221 100644 --- a/robottelo/utils/issue_handlers/jira.py +++ b/robottelo/utils/issue_handlers/jira.py @@ -1,7 +1,6 @@ from collections import defaultdict import re -from packaging.version import Version import pytest import requests from tenacity import retry, stop_after_attempt, wait_fixed @@ -13,7 +12,6 @@ JIRA_OPEN_STATUSES, JIRA_WONTFIX_RESOLUTIONS, ) -from robottelo.hosts import get_sat_version from robottelo.logging import logger # match any version as in `sat-6.14.x` or `sat-6.13.0` or `6.13.9` @@ -71,11 +69,6 @@ def is_open_jira(issue_id, data=None): return True # Jira is Closed with a resolution in (Done, Done-Errata, ...) - # server.version is higher or equal than Jira fixVersion - # Consider fixed, Jira is not open - fix_version = jira.get('fixVersions') - if fix_version: - return get_sat_version() < Version(min(fix_version)) return status not in JIRA_CLOSED_STATUSES and status != JIRA_ONQA_STATUS