Creating issue via no login portal with new external account throwing error due to default priority field value in Team Managed project

XMLWordPrintable

    • 3
    • Severity 2 - Major

      Issue Summary

      When creating issues via non login customer portal and using a new external customer account , it is throwing error :-

      This form contains a hidden field that does not have a valid default value configured

      In the developer tool , it show :-

      {
          "errors": [
              {
                  "errorMessage": "This form contains a hidden field that does not have a valid default value configured"
              },
              {
                  "errorMessage": "Please provide a valid value for field 'priority'",
                  "field": "priority"
              }
          ],
          "reasonKey": "validation.error",
          "reasonCode": "400"
      }
      

      This happened even though there's no default value set in the request form.

      And if the "Priority" field is added to the request form and set with a default value , the value doesn't show in the request form when accessing a non-login portal.

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Open a JSM global configuration customer access configuration
      2. Enable "Customers can access and send requests from the portal without logging in"
      3. Open team managed project portal via incognito
      4. Try to create ticket

      Expected Results

      Ticket successfully created

      Actual Results

      "This form contains a hidden field that does not have a valid default value configured" error throwed and expecting for a valid priority field value.

      Workaround

      No actual workaround to set default priority field for non login customer. The only way to prevent the error are to add the priority field to the "Request form" screen and let the customer set the "Priority" field value.

              Assignee:
              Unassigned
              Reporter:
              Atiqah Roslan
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: