Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-72126

Using "latest" in REST API endpoints returns OAuth 2.0 is not enabled for this method

    XMLWordPrintable

Details

    Description

      Created on behalf of the customer from a Community post: https://community.atlassian.com/t5/Jira-questions/Cloud-API-using-quot-latest-quot-wrong-behavior/qaq-p/1081500

       

      While using OAuth 2.0 (3LO) for apps to authenticate REST API calls, everything works fine with v2 and v3 URIs, but if you use 'latest' within the URI you get an error reporting that OAuth 2.0 is not enabled for this method.

      For example: on add comment API :

       

      Expected results:

      API authenticates correctly and returns a response

       

      Actual results:

      API authentication fails while stating OAuth 2 is not enabled

       

      Workaround:

      Do not use latest within the URI and only use v2 or v3.

      Attachments

        Issue Links

          Activity

            People

              2b5f3cd03467 Kamil Kozlowski
              aba906d8410d Mahmoud Mohammad El-Aziz
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: