Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2095

Scorecard plugin should use a stable api version instead of latest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 1.8.0
    • Scorecard plugin
    • None
    • RHDH Plugins 3281
    • Informational

      Description of problem:

      The scorecard plugin - jira moduie uses the "latest" jira api. This might result in a breaking plugin if the api changes. I think we should switch this to a specific api version that is tested.

      rh-ee-imykhno noticed

      The apiVersion are taken for Cloud and Data Center solution in the same way. Using latest in request give ability not to know which version using, it will taken automatically, however for:

      1. Cloud the latest is 3
      2. DataCenter the latest is 2 (doc)

      Actual results:

      API calls are using "latest" by default.

      Expected results:

      Cloud and Data Center calls should use the right stable versions.

      • For Jira Cloud is verions 3
      • For Jira Data Center is version 2

              rh-ee-imykhno Ihor Mykhno
              cjerolim Christoph Jerolimov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: