How to show the owner of a defect in a rally

I am using / apps / 1.29 / sdk.js for a custom application. And I can get fields like "FormattedID", "State", but I cannot print "Owner". Can you advise? thank!

table.setCell (i, 5, '' + defect.Owner.LoginName + '
' + defect.Owner.DisplayName); // these two methods show "undefined" on the page. table.setCell (i, 6, '' + defect.State); // this is good.


source to share

1 answer

As you've found, most objects in Rally have a _refObjectName property that represents the display name of the object. Note that you will want to make sure Owner is not null, as not all elements can have an owner.



All Articles