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

Getting the error "The following hidden fields on the request type do not have the required preset values:" when a cascading field is set to "Required"

      Issue Summary

      In Jira 9.4.8 when filling in both parent and sub-options of a cascading field and then adding them to the Request types in Hidden section then we get an error in the screen

      	
      The Test Request Type request form contains configuration errors
      
      The following hidden fields on the request type do not have the required preset values:
      
      Cascading Field
      To repair this request type, set a value for these fields at the fields page.
      

       

       

       

      This is reproducible on Data Center: (yes) 

      Steps to Reproduce

      1. Add a Select list (cascading) field
      2. In the field configuration, add some options for that field
      3. Make that field required
      4. Go to Project Settings>Request Types> Add the Select list cascading field in the hidden section
      5. Select the first and second fields from the drop-down
      6. Save the form.

      Expected Results

      There would be no issues as both first and second fields of the Select list (cascading) which is required have been filled correctly

      Actual Results

      • After saving the request types if we open the project settings again we get the below error even if both the fields are already filled.

      Workaround

      Not available

        1. Screenshot 2023-09-08 at 4.22.33 PM.png
          161 kB
          AviGhosh
        2. Screenshot 2023-09-08 at 4.22.59 PM.png
          168 kB
          AviGhosh
        3. Screenshot 2023-09-08 at 4.22.33 PM-1.png
          161 kB
          AviGhosh
        4. Screenshot 2023-09-08 at 4.22.59 PM-1.png
          168 kB
          AviGhosh

          Form Name

            [JSDSERVER-14225] Getting the error "The following hidden fields on the request type do not have the required preset values:" when a cascading field is set to "Required"

            Yufei Zuo made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 842042 ]
            SET Analytics Bot made changes -
            UIS Original: 19 New: 40
            Satej Mirpagar made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            SET Analytics Bot made changes -
            Support reference count Original: 2 New: 4
            Julien Rey made changes -
            Summary Original: Required field validation works does not work properly when there is second option present in the Cascading drop-down list New: Getting the error "The following hidden fields on the request type do not have the required preset values:" when a cascading field is set to "Required"
            Julien Rey made changes -
            Description Original: h3. Issue Summary

            In Jira 9.4.8 when filling in both parent and sub-options of a cascading field and then adding them to the Request types in Hidden section then we get an error in the screen

             

            !Screenshot 2023-09-08 at 4.22.33 PM.png|width=491,height=156!

             

             

            This is reproducible on Data Center: (yes) 
            h3. Steps to Reproduce
             # Add a *Select list (cascading)* field
             # In the field configuration, add some options for that field
             # Make that field required
             # Go to Project Settings>Request Types> Add the Select list cascading field in the hidden section
             # Select the first and second fields from the drop-down
            !Screenshot 2023-09-08 at 4.22.59 PM.png|width=141,height=84!
             # Save the form.

            h3. Expected Results

            There would be no issues as both first and second fields of the *Select list (cascading) which is required* have been filled correctly
            h3. Actual Results
             * After saving the request types if we open the project settings again we get the below error even if both the fields are already filled.

             * !Screenshot 2023-09-08 at 4.22.33 PM.png|width=268,height=85!

            h3. Workaround

            Not available
            New: h3. Issue Summary

            In Jira 9.4.8 when filling in both parent and sub-options of a cascading field and then adding them to the Request types in Hidden section then we get an error in the screen
            {code}

            The Test Request Type request form contains configuration errors

            The following hidden fields on the request type do not have the required preset values:

            Cascading Field
            To repair this request type, set a value for these fields at the fields page.
            {code}
             

            !Screenshot 2023-09-08 at 4.22.33 PM.png|width=491,height=156!

             

             

            This is reproducible on Data Center: (yes) 
            h3. Steps to Reproduce
             # Add a *Select list (cascading)* field
             # In the field configuration, add some options for that field
             # Make that field required
             # Go to Project Settings>Request Types> Add the Select list cascading field in the hidden section
             # Select the first and second fields from the drop-down
            !Screenshot 2023-09-08 at 4.22.59 PM.png|width=141,height=84!
             # Save the form.

            h3. Expected Results

            There would be no issues as both first and second fields of the *Select list (cascading) which is required* have been filled correctly
            h3. Actual Results
             * After saving the request types if we open the project settings again we get the below error even if both the fields are already filled.

             * !Screenshot 2023-09-08 at 4.22.33 PM.png|width=268,height=85!

            h3. Workaround

            Not available
            SET Analytics Bot made changes -
            UIS Original: 18 New: 19
            Mingyi Yang made changes -
            Status Original: In Review [ 10051 ] New: Waiting for Release [ 12075 ]
            Mingyi Yang made changes -
            Status Original: In Progress [ 3 ] New: In Review [ 10051 ]
            Mingyi Yang made changes -
            Fix Version/s New: 5.12.1 [ 106162 ]

              4efd9de64ab4 Mingyi Yang
              9dec92182c8f AviGhosh
              Affected customers:
              3 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: