/
How to fix 'The issue couldn’t be created due to the required fields in the request form' error

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.

image-20240729-123400.png

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:

  1. 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.

image-20240716-102325.png
Request Type Configuration in your JSM Project settings
image-20240729-124304.png
Fields are marked “Required”
  1. 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.

    image-20240729-124552.png
    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.

image-20240729-124726.png
Field marked Is Required for Pre-chat form

Modifying the Reporter field is not advisable as the app integration must ensure Chat works correctly and messages are sent to the customer.

Related content