-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
4
-
Severity 3 - Minor
-
3
-
Issue Summary
Required fields from a form can be empty if the issue is created through API using the public endpoint below, or through the frontend API used by JSM portal frontend.
This also happens with a required field within a conditional section. If a section condition matches, the field within the section can be empty even if it's required.
This is because:
- The frontend API does not validate whether a form was submitted with the request
- Neither API validates required form fields are filled in
Steps to Reproduce
- Create a form and mark a field as required.
- Raise a ticket using API and keep the required field empty.
Expected Results
The API should respect the field requirement and prevent the issue creation.
Actual Results
The issue will be created, but the form will show the required field as empty:
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available