JQL breaks with company-managed (formerly classic) custom fields if a team-managed (formerly next-gen) duplicate exists

XMLWordPrintable

    • 33
    • Severity 3 - Minor
    • 10

      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.

      Note - The bug also impacts the JQL search in add-ons - e.g Slack integration, Teams, etc.

      Steps to Reproduce

      1. Create a custom field in the global system settings (company-managed (formerly classic))
      2. Create a custom field with the same name in a team-managed (formerly next-gen) Project

      Expected Results

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

      Actual Results

      Any existing filters using the company-managed (formerly classic) version of the field will break and going forward you can only query this field by using a different syntax that includes the field type


      Workaround

      • Simply rename one of the custom fields so there are no duplicates
      • Use a different syntax for the field reference in your JQL which includes the field type (eg. "Chocolate[Number]")
      • Use the custom field id in the Advanced search instead of the custom field name

            Assignee:
            Unassigned
            Reporter:
            Belto (Inactive)
            Votes:
            10 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved: