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

As a User, I want Jira to honour JQL searches with custom field names if there are multiple fields with same names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.22.4
    • Issue - Fields, JQL
    • None

    Description

      If two fields have same name, the JQL search is not working as expected. In case of an accidental duplicate field creation, Jira should honour the filters created before the duplication happened.

      This may cause many automation/filters to break unexpectedly.

      Steps to Reproduce:

      1. Create a custom field of type group picker, give it some name ("My Search Field")
      2. Add it to a project and screen
      3. Create an issue with the field "My Search Field" filled with any group (jira-software-users)
      4. Do a JQL search
        "My Search Field" = jira-software-users

      1. Create another custom field with same name of type text field.
      2. Do the same JQL search, it will throw error

      PS: The sequence of these fields creation won't matter as even if the text field is created first followed by the group picker, the error will come.

      Workarounds

      • Use field IDs in JQL search
        cf[id] = 'value'
      • Rename one of the fields
      • Avoid same name

      Attachments

        1. correct-result.png
          correct-result.png
          80 kB
        2. error-search.png
          error-search.png
          58 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              25a297a97a14 Anupam Singh Deo (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: