I am trying to create a servicedesk request with a specified Organization to set on the request when it is created. I tried to use organizationId as a field in my request json but it is not recognized. I am able to create a request otherwise without an organization, so how can I create one with an Organization, or set the Organization afterward?
I am able to use /rest/servicedeskapi/servicedesk/${JIRA_PROJECT_ID}/organization to get the organization IDs associated with the project. I do get a warning that the API is Experimental.
Using JIRA Service Desk 4.4.1.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>Unrecognized field "organizationId" (Class com.atlassian.servicedesk.api.rest.dto.domain.request.RequestCreateDTO), not marked as ignorable
at [Source: org.apache.catalina.connector.CoyoteInputStream@2852b1e1; line: 1, column: 280] (through reference chain: com.atlassian.servicedesk.api.rest.dto.domain.request.RequestCreateDTO["organizationId"])</message><stack-trace>org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "organizationId" (Class com.atlassian.servicedesk.api.rest.dto.domain.request.RequestCreateDTO), not marked as ignorable