I want to create service request with values for more fields like prioirty, urgency, shared with, label etc.
The API doesn't accept any values except summary, description and on behalf of.
POST /rest/servicedeskapi/request
{
"summary":"test-sub",
"description":"test-des",
"requestTypeId":"27",
"priority":"1",
"Urgency" : "High",
"sharedWith" : "5f8fdf2dddb0df006e750949",
"labels":"UI"
}
I'm getting the below error for priority and more over getting this same kind of error for all other fields too:
"Unrecognized field "priority" (Class com.atlassian.servicedesk.api.rest.dto.domain.request.RequestCreateDTO), not marked as ignorable
at [Source: org.apache.catalina.connector.CoyoteInputStream@119fbcd1; line: 1, column: 172] (through reference chain: com.atlassian.servicedesk.api.rest.dto.domain.request.RequestCreateDTO["priority"])".
As it is highly emergency, any quick help would be great.
Thanks in advance!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.