-
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
- Create an object type with attributes 'Name' and 'Display Label' attributes and make 'Display Label' as label
- Create an object -
- Name : Atlassian
- Display Label : My Label
- Using smart value try retrieving the value of Name - customfield_xxx.Name or lookupObjects.Name
- 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.
- relates to
-
JSDCLOUD-14104 Assets automation : Smart value {{object.Name}} returns label attribute instead of value from 'Name' attribute
-
- Closed
-