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

XMLWordPrintable

    • Severity 3 - Minor

      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.

            Assignee:
            Kamil Kozlowski
            Reporter:
            Mahmoud Mohammad El-Aziz
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: