Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-4444

broken search string in generate-release-notes.py

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • Dev Spaces 3.2
    • Dev Spaces 3.2
    • Dev Spaces
    • None

      devspaces-update-next run-test: commands[2] | sh -c /home/ffloreth/src/gl-cee/ffloreth/red-hat-devtools/tools/devspaces/single-sourcing.sh
      project = CRW AND level is EMPTY AND "Release Notes Docs Status" = "Documented as Feature Request" AND resolution != Unresolved AND fixVersion ~ "3.2.*.GA" order by key
      project = CRW AND level is EMPTY AND "Release Notes Docs Status" = "Documented as Resolved Issue" AND resolution != Unresolved AND fixVersion ~ "3.2.*.GA" order by key 
      project = CRW AND (level is EMPTY) AND ("Release Notes Docs Status" = "Documented as Known Issue") AND (affectedVersion <= 3.1.0.GA) AND (fixVersion > 3.1.0.GA) AND (fixVersion != 3.1.0.GA) AND (resolution = Unresolved OR resolution = Done OR resolution = Fixed) ORDER BY key DESC
      Traceback (most recent call last):
        File "/home/ffloreth/src/gl-cee/ffloreth/red-hat-devtools/tools/devspaces/generate-release-notes.py", line 110, in <module>
          issues = jira.search_issues(query)
        File "/usr/lib/python3.10/site-packages/jira/client.py", line 2848, in search_issues
          issues = self._fetch_pages(
        File "/usr/lib/python3.10/site-packages/jira/client.py", line 698, in _fetch_pages
          resource = self._get_json(request_path, params=page_params, base=base)
        File "/usr/lib/python3.10/site-packages/jira/client.py", line 3543, in _get_json
          r = self._session.get(url, params=params)
        File "/usr/lib/python3.10/site-packages/jira/resilientsession.py", line 195, in get
          return self.__verb("GET", str(url), **kwargs)
        File "/usr/lib/python3.10/site-packages/jira/resilientsession.py", line 189, in __verb
          raise_on_error(response, verb=verb, **kwargs)
        File "/usr/lib/python3.10/site-packages/jira/resilientsession.py", line 64, in raise_on_error
          raise JIRAError(
      jira.exceptions.JIRAError: JiraError HTTP 400 url: https://issues.redhat.com/rest/api/2/search?jql=project+%3D+CRW+AND+%28level+is+EMPTY%29+AND+%28%22Release+Notes+Docs+Status%22+%3D+%22Documented+as+Known+Issue%22%29+AND+%28affectedVersion+%3C%3D+3.1.0.GA%29+AND+%28fixVersion+%3E+3.1.0.GA%29+AND+%28fixVersion+%21%3D+3.1.0.GA%29+AND+%28resolution+%3D+Unresolved+OR+resolution+%3D+Done+OR+resolution+%3D+Fixed%29+ORDER+BY+key+DESC&startAt=0&validateQuery=True&maxResults=50
              text: The value 'Fixed' does not exist for the field 'resolution'.
              
              response headers = \{'x-arequestid': '904x4378643x5', 'x-anodeid': 'rh1-jira-prod-2', 'referrer-policy': 'strict-origin-when-cross-origin', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'Content-Security-Policy': 'sandbox', 'strict-transport-security': 'max-age=31536000', 'x-ausername': 'anonymous', 'Content-Encoding': 'gzip', 'Vary': 'User-Agent, Accept-Encoding', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '112', 'Expires': 'Mon, 12 Sep 2022 15:04:57 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Pragma': 'no-cache', 'Date': 'Mon, 12 Sep 2022 15:04:57 GMT', 'Connection': 'keep-alive', 'x-rh-edge-request-id': '4e538158', 'x-rh-edge-reference-id': '0.5619dd58.1662995097.4e538158', 'x-rh-edge-cache-status': 'Miss from child, Miss from parent'}
              response text = \{"errorMessages":["The value 'Fixed' does not exist for the field 'resolution'."],"errors":{}}
      

        1. Screenshot from 2022-09-12 17-09-30.png
          70 kB
          Fabrice Flore-Thébault
        2. Screenshot from 2022-09-12 17-11-47.png
          104 kB
          Fabrice Flore-Thébault

              ffloreth@redhat.com Fabrice Flore-Thébault
              ffloreth@redhat.com Fabrice Flore-Thébault
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: