Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-12038

"Please provide a value for required field '<custom_field_name>'" error is thrown when using a default value for Insight objects custom field in the customer portal

    XMLWordPrintable

Details

    Description

      Issue Summary

      "Please provide a value for required field '<custom_field_name>'" error is thrown when using a default value for Insight objects custom field in the customer portal.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Create IT service management sample project. Let's call this project ITSM.
      2. Create an Insight object schema and populate some objects in it or reuse an existing Insight schema if you already have one.
      3. Create an Insight objects custom field. Let's call this Test field. Configure a default value for this custom field. It should look like the screenshot below:
      4. Make Test field a Required field in the customer portal for one of the request types in the ITSM project settings. It should look like the screenshot below:
      5. Try to create an issue for the request type in the ITSM project's customer portal. Leave the Test field value as pre-populated with the default value.

      Expected Results

      Issue creation is successful via the customer portal with the default value for the Insight objects custom field.

      Actual Results

      The "Please provide a value for required field '<custom_field_name>'" error is thrown blocking the issue creation in the customer portal.

      Workaround

      • Clear the default value from the Insight objects custom field in the customer portal and populate the field again with the appropriate object to proceed with the issue creation; or
      • Disable the `insight.cf.react.on.cp` feature flag to revert the custom field component to the old one

      Attachments

        Activity

          People

            344ed8f58f8f Alec Bignell
            0583e4ef94d1 Samuel Ng
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Backbone Issue Sync