When trying to create schema options with REST API, get 415 error

Issue #34 invalid
Joe Mallon created an issue

I am trying to create the options for a schema using the REST API called from a script instead of through the Jira API browser. When I submit an option using JSON, I get a “415 Unsupported Media Type” error.

Content type sent is ‘application/json’. URL is https://ala-jira-test.EXAMPLE.com/rest/treecf/1.0/admin/option/update
JSON is:
{
"schemaId" : "1",
"parentId" : null,
"name" : "TestValue"
}

Please advise.

Comments (4)

  1. Yury Oboz repo owner

    Hmm. I can’t reproduce this error.

    In Atlassian REST API Browser

    In Insomnia:

    You send post request?

  2. Log in to comment