Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-12243

Form Builder: In preview mode an Assets Custom Fields doesn't utilize the Filter Issue Scope query for the provided options.

XMLWordPrintable

      Issue Summary

      When creating a Form that has Assets Custom Fields on it, the Preview Pane on the Form Builder doesn't use the Filter Issue Scope query for the valid options when previewing the form.

       

      Update 16 Feb 2023 - This issue won't be fixed

      This issue only affects the Form Builder Preview, the Filter Issue Scope works when a form is attached to an issue (or being used to create an issue). The reason the preview doesn't work is that the form is not associated or attached to a specific issue/request type. We are not planning on fixing this issue.

      Work around: To test this is working, you will need to actually goto to the relevant portal page, or attach the form to an existing issue.

      Thanks,

      Simon - PM for JSM Forms

       

      Steps to Reproduce

      1. Create a Form.
      2. Add 2 Assets Custom Fields to the Form and link them to the appropriate Custom Fields
      3. Modify one of the Assets Custom Field's configurations to use input from the other to determine the valid Objects
      4. Set the other Custom Field's value in the Preview
      5. Try to set the modified Custom Field's value.

      As a more detailed example, have 2 Custom Fields in your Jira Site:

      1. Affected Applications
      2. Affected Servers

      Configure Affected Applications to be filtered based on what is chosen in Affected Servers in the Custom Field's Configuration via the Filter Issue Scope.

      Put both of these Fields on a Form, linked to the Custom Fields, and navigate to the Preview Pane.

      Selected a Server in Affected Servers.
      See that the Applications listed in Affected Applications are all Applications, not just the ones applicable to the Server that was selected.
      i.e. Filter Scope is being applied, but Filter Issue Scope is not.

      Expected Results

      The dropdown only shows valid options for the 2nd custom field.

      Actual Results

      The Assets Custom Field lists all possible options for the 2nd custom field, regardless of the 1st's value.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              992127aa63ec Payden Pringle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: