Hi,
I am trying to use the REST API to create a screen in Jira Data Center, as referenced in the API documentation.
However, when I attempt to call the API, I receive an HTTP 405 – Method Not Allowed error.
Has this API been removed or deprecated in recent versions of Jira Data Center? If so, could you please advise on the recommended alternative approach to create screens programmatically?
My Datacenter instance is v10.3.1
Regards
The POST /rest/api/2/screens endpoint for creating screens is a Jira Cloud-only REST API. It is not available in Jira Data Center, which is why you are receiving the 405 Method Not Allowed error.
The Data Center REST API only supports GET on /rest/api/2/screens (to retrieve/search screens), not POST.
Hello @Tulika
Please share with us the details of the API call you are making, and the link for the API documentation you are referencing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't see an endpoint in the API documentation that supports creation of screens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trudy Claspill
I was checking the REST API - POST /rest/api/2/screens
https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-screens/#api-rest-api-2-screens-post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately that is an API reference for the Jira Cloud app, not the Jira Data Center app .
The Jira Data Center API doesn't provide an endpoint for creating screens, based on the documentation link I provided.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.