Getting the message "This API is experimental" when using the Jira Service Management Rest API
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
While performing the REST API using the new Jira Service Management API, the following is thrown:
This API is experimental. Experimental APIs are not guaranteed to be stable within the preview period. You must set the header 'X-ExperimentalApi: opt-in' to opt into using this API.
Cause
- The user you used for authentication does not have the necessary permission to view the ticket OR
- The request type for the issue that is being retrieved is not set accordingly
Resolution
Set the value above accordingly