...
Array<Identity> myWorkItem.GetOwners(real: boolean)
...
Arguments
boolean real
Specifies the return real or simulated owner. Default value is true.
Returns
...
Array<Identity> myWorkItem.GetOwners(real: boolean)
Arguments
...
Remarks
This method always returns the assigned identities (Position, User etc) without any calculation. If you need to assigned users please see the WorkItem.GetOwnerUsers method.
Example
Code Block | ||
---|---|---|
| ||
var owners = $WorkItem.GetOwners();
console.log(owners.length && owners[0].Name); |