Closed FernandesMF closed 1 year ago
Freshmaker currently supports major incidents only in Bugzilla, but some products file those trackers in JIRA.
This commit implements the logic to check if a tracker in JIRA corresponds to a major incident, by using the Errata API.
The changes are the following:
Errata.has_jira_major_incidents
Errata._get_jira_issues
ErrataAdvisory.from_advisory_id
JIRA: CWFHEALTH-2360
Freshmaker currently supports major incidents only in Bugzilla, but some products file those trackers in JIRA.
This commit implements the logic to check if a tracker in JIRA corresponds to a major incident, by using the Errata API.
The changes are the following:
Errata.has_jira_major_incidents
to check if a tracker in JIRA refers to a major incidentErrata._get_jira_issues
to fetch jira trackersErrataAdvisory.from_advisory_id
, to add support to the JIRA trackersErrata.has_jira_major_incidents
, with all the expected cases that it should handleJIRA: CWFHEALTH-2360