Log inSkip to main contentSkip to sidebar
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Ability to disable pre-validation checks for Forms when creating requests via the JSM REST API
Currently, when creating a customer request via the '/rest/servicedeskapi/request' endpoint with a 'form.answers' payload, JSM performs strict pre-validation on the form data.
If the payload contains mismatched field IDs, missing required fields, or invalid entries, the API rejects the request with an HTTP 4xx HTTP error.
These changes are being brought to the platform as announced in this release note.
Proposal
The API should provide an option (e.g., a toggle or query parameter) to bypass pre-validation.
Workaround
In the JSM Form settings, you can enable ‘Keep this form open for edits’ and ‘Ignore all field validation’. Doing so will bypass the pre-validation.
However, this also means the application won't validate that the required fields are filled out when the user goes to submit the form, either.