How to fix 'The issue couldn’t be created due to the required fields in the request form' error
Problem
Sometimes, the below error message may display when a message is sent to the chat widget: The issue couldn't be created due to the required fields in the request form.
Solution
For the chat widget to function correctly, you need to adjust the field configurations specifically for the Chat Request type. Here’s what you need to do:
Make fields optional
Ensure there are no Required fields for Chat requests in your Jira configuration except for the summary. When a message is sent, an issue is created in Jira, and all other details and values from the pre-chat form are populated. This process uses different APIs for Create and Update actions but should not affect other Jira configurations.
Adjust field configurations
Mark the custom fields as optional or disable only for the Chat Request type. Jira allows different settings for request types, even if they are linked to the same issue type.
The field Required is Optional/disabled
Handling required fields in Pre-chat form
If any fields need to be required in the Pre-chat form, mark them in the Chat app settings, not in the Jira field configuration.
Modifying the Reporter field is not advisable as the app integration must ensure Chat works correctly and messages are sent to the customer.