WorkItem.GetOwnerUsers
Overview
Returns the array of users that work item assigned to.
Array<
Identity> myWorkItem.GetOwnerUsers(real: boolean)
Arguments
boolean real
Specifies the return real or simulated owner. Default value is true.
Returns
Array of owner users.
Remarks
This method returns the dynamically calculated array of user type identities. When organization changes (e.g. adding or removing user to position) also changes the return value.
Example
var owners = $WorkItem.GetOwnerUsers();
console.log(owners.length && owners[0].Name);
Copyright © 2010 - 2023 Emakin. All rights reserved.