Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-16194

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

XMLWordPrintable

      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.

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

                Created:
                Updated:
                Resolved: