Form crashes when conditional section is selected
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Learn how to handle a JSM Form that crashes when you select a conditional section within it.
The following error is thrown:
Something went wrong
Refresh the page and try again. If the error persists, contact support.
How can I identify the problem?
When loading the Form, your browser's console show logs with errors "Cannot read properties of undefined."
Moreover, you can use the API endpoint Get Form to review the Form in JSON format:
- Search for your "Section Name" to find the section ID.
- Look for the section within the JSON using the ID you just found. The field "cIDs" (condition ID) of the section should be empty.
This means the section is mapped to a condition that doesn't exist, and is corrupted.
How do I fix the problem?
Please contact Atlassian Support to remove the corrupted condition.