Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.16.z] Update is_open_jira issue handler functionality #16595

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions robottelo/utils/issue_handlers/jira.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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`
Expand Down Expand Up @@ -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


Expand Down