Steps Followed
Created a custom list filed (customfield_10162)
Associated to all JSM screens
Added default values
While creating an issue via API, it fails because of the below errror.
<>/rest/servicedeskapi/request/
Error message
{
"errorMessage": "Unable to create request because of theses errors : The field 'customfield_10162' is not valid for this request type 'Request admin access'., \nThe field 'priority' is not valid for this request type 'Request admin access'.",
"i18nErrorMessage": {
"i18nKey": "sd.request.create.error.failed.msg",
"parameters": [
"The field 'customfield_10162' is not valid for this request type 'Request admin access'., \nThe field 'priority' is not valid for this request type 'Request admin access'."
]
}
}
Can you please help me out?