Saved filter for the JQL breaks with when user create the same custom field name in Team Managed Project as of Company Managed Project.

XMLWordPrintable

    • 16
    • Minor
    • 13

      Issue Summary

      If you create a custom field in a team-managed (formerly next-gen) Project and the name already exists in the company-managed (formerly classic) global custom fields, using the field in a JQL search will break, causing any existing filters using this field to fail.

      Steps to Reproduce

      1. Load the existing filter which has the custom field as part of JQL Or create a custom field in the Company Managed Project and save it as a filter.
      2. Create a custom field in the Team Managed Project with exact name of the field in the Company Managed Project.
      3. Open or reload the saved filter created in step 1.

      Expected Results

      The JQL basic and advanced search should recognise these are 2 different fields and continue to function accordingly.

      Actual Results

      All the existing filters will break that has this custom field with below error:

       

      Workaround

      • Delete the custom field that's created in the Team Managed Project Or,
      • Simply rename one of the custom fields so there are no duplicates.

       

        1. Screenshot 2022-09-26 at 2.36.43 PM.png
          164 kB
          Mahmad Faruk
        2. image-2022-09-27-14-44-42-441.png
          96 kB
          Franziska Schindler
        3. image-2022-10-14-15-34-27-588.png
          31 kB
          Franziska Schindler
        4. Duplicate field name validation 1.png
          288 kB
          Yousef Abusamak
        5. Duplicate field name validation 2.png
          305 kB
          Yousef Abusamak
        6. Duplicate field name validation 1-1.png
          288 kB
          Yousef Abusamak
        7. Duplicate field name validation 2-1.png
          305 kB
          Yousef Abusamak

            Assignee:
            Franziska Schindler
            Reporter:
            Mahmad Faruk
            Votes:
            8 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: