WorkItem.GetOwners
Overview
Returns the array of identities that work item assigned to.
Array<
Identity> myWorkItem.GetOwners(real: boolean)
Arguments
boolean real
Specifies the return real or simulated owner. Default value is true.
Returns
Array of identities that work item assigned to.
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
var owners = $WorkItem.GetOwners();
console.log(owners.length && owners[0].Name);
See Also
Copyright © 2010 - 2023 Emakin. All rights reserved.