def load_jira()

in releasedocmaker/src/main/python/releasedocmaker/jira.py [0:0]


    def load_jira(jira_base_url, params, fail_count):
        """send query to JIRA and collect with retries"""
        try:
            resp = get_jira(f"{jira_base_url}/rest/api/2/search?{params}")
        except (urllib.error.URLError, http.client.BadStatusLine) as err:
            return JiraIter.retry_load(jira_base_url, err, params, fail_count)

        try:
            data = json.loads(resp.read())
        except http.client.IncompleteRead as err:
            return JiraIter.retry_load(jira_base_url, err, params, fail_count)
        return data