The JSM API endpoint "/servicedeskapi/info" isn't supposed to require authentication. But won't work without it.

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      The Jira Service Management REST API documentation for Jira 10.3 for this endpoint states:

      Returns runtime information about Jira Service Management. You do not need to be logged in to use this method.

      However, unless you specify correct credentials, you will receive the following error:

      Client must be authenticated to access this resource.
      

      Steps to Reproduce

      1. Install a JSM version 10 or above
      2. Make an unauthenticated REST API call to "/rest/servicedeskapi/info"

      Expected Results

      The returned result should look something like:

      {
        "version": "10.3.5-QR-0020",
        "platformVersion": "10.3.5",
        "buildDate": {
          "iso8601": "2025-03-27T09:15:32+0000",
          "jira": "2025-03-27T09:15:32.551+0000",
          "friendly": "27/Mar/25 9:15 AM",
          "epochMillis": 1743066932551
        },
        "buildChangeSet": "db573d95",
        "isLicensedForUse": true,
        "_links": {
          "self": "https://<BaseURL>/rest/servicedeskapi/info"
        }
      }
      

      Actual Results

      Instead, the system returns with the below:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>401</status-code><message>Client must be authenticated to access this resource.</message></status>%    
      

      Workaround

      Currently, the only way to workaround this is to provide credentials when making the API call. However, this contradicts the documentation and intent of the API.

            Assignee:
            Bartosz Ornatowski
            Reporter:
            Allan O'Rourke
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: