Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-73086

Creating an option list for a cascading field where a child has the value of its parent id causes the basic mode to use that value as an id in a search.

    XMLWordPrintable

Details

    Description

      Problem

      Creating an option list for a cascading field where a child has the value of its parent id causes the basic mode to use that id as a value in a search.

      Environment

      Jira server 8.13.14

      Steps to Reproduce

      1. Create or select a custom field of type "Select List (Cascading)", out of the box Operational categorization.
      2. In the database search for the id of the Parent for the options, for example:  "Server Change", id = 10076.
      3. Now edit the options for Server Change and add a child with value 10076.
      4. Run reindex
      5. Go to search issues, select > more > Operational categorization with values;
        • Parent: Server Change
        • Child: 10076
      6. Click update

      Expected Results

      The search with the set values will be used to search issues.

      Actual Results

      A message is shown that the search was invalid:

      The option '10076' specified in function 'cascadeOption' is not a valid parent option.

      Workaround

      Switch to advanced search or add a space character behind the child option value in the field configuration.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbbda0e60be6 Mark van Leeuwen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: