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

AQL with an attribute does not work due to case sensitivity of another attribute with same name

      Summary

      AQL with a user type attribute does not work due to the case sensitivity of another attribute with the same name

      Steps to Reproduce

      1. Create an "owner" user type attribute in object type1
      2. Create an "Owner" user type attribute in another object type2
      3. Select one of the Jira users, eg: "lily" on a few objects in both the object types
      4. Try to execute an IQL using the user type attribute on both of these object types:
        "owner" = "lily" on objecttype1
        "Owner" = "lily" on objecttype2
        

      Expected Results

      AQL returns the results

      Actual Results

      Both the IQL returns results for object type2:

      But none of the IQL's work for object type1

      Even if you try to use the Basic search, the "owner" attribute" will not appear as a user type attribute in object type1, while it does in the object type2:

      Workaround

      If you are using the same names for attributes across object types, make sure their case sensitivity matches.
      In this case, updating the "Owner" attribute to "owner" in objecttype2 solved the issue.

        1. screenshot-1.png
          screenshot-1.png
          240 kB
        2. screenshot-2.png
          screenshot-2.png
          237 kB
        3. screenshot-3.png
          screenshot-3.png
          128 kB
        4. screenshot-4.png
          screenshot-4.png
          166 kB
        5. screenshot-5.png
          screenshot-5.png
          168 kB
        6. screenshot-6.png
          screenshot-6.png
          257 kB
        7. screenshot-7.png
          screenshot-7.png
          107 kB

            [JSDCLOUD-10231] AQL with an attribute does not work due to case sensitivity of another attribute with same name

            Radu added a comment -

            Hi everyone,

            This is Radu from the Assets team. This bug is fixed and I confirmed the functionality to be working as expected. 

            I've replicated the steps and confirmed that AQL retrieves the correct objects regardless of case used for the attributes. E.g. "Owner = lilly" and "owner = lily" return results on both object types.

            Sincerely,

            Radu Apostoleanu

            Radu added a comment - Hi everyone, This is Radu from the Assets team. This bug is fixed and I confirmed the functionality to be working as expected.  I've replicated the steps and confirmed that AQL retrieves the correct objects regardless of case used for the attributes. E.g. "Owner = lilly" and "owner = lily" return results on both object types. Sincerely, Radu Apostoleanu

            Dam added a comment -

            This cant be considered as low priority... Premium cloud customers are working with thousands of objects and thousands of different object types and attributes... Severals teams can managed the same object schema and create object type with the same attributes. It's sometimes impossible to guarantee that they won't use the same attributes names.

            Welcome to the real world of using Atlassian products !

            Please consider this bug as major at least... It's affecting Premium and Enterprise customers with a large number of data in Assets. 

            Dam added a comment - This cant be considered as low priority... Premium cloud customers are working with thousands of objects and thousands of different object types and attributes... Severals teams can managed the same object schema and create object type with the same attributes. It's sometimes impossible to guarantee that they won't use the same attributes names. Welcome to the real world of using Atlassian products ! Please consider this bug as major at least... It's affecting Premium and Enterprise customers with a large number of data in Assets. 

              Unassigned Unassigned
              skahol Swati Kahol
              Affected customers:
              13 This affects my team
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: