When using smart value .Name to retrieve attribute value, its returning label attribute value

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • Component/s: Assets - AQL
    • None
    • 4
    • Severity 3 - Minor
    • 3

      Issue Summary

      In Assets, when an object type has attributes 'Name' and 'Display Label'(just an example, could be any name, but it's a label type attribute) and calling .Name via smartfield using custom field or lookupObjects returns value of 'Display Label' attribute instead of Name attribute value.

      Steps to Reproduce

      1. Create an object type with attributes 'Name' and 'Display Label' attributes and make 'Display Label' as label
      2. Create an object -
        1. Name : Atlassian
        2. Display Label : My Label
      3. Using smart value try retrieving the value of Name - customfield_xxx.Name or lookupObjects.Name
      4. You'll see the value of 'Display Label' instead of Name

      Note: We are able to retrieve the value of other attributes.

      Expected Results

      Retrieve the value of Name attribute

      Actual Results

      Incorrectly retrieves value of Label attribute

      Workaround

      To work around this bug, you'll need to rename the "Name" attribute to something else and adjust the smart value to the new name.

            Assignee:
            Shivek Pamnani
            Reporter:
            Remo Fernandes
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: