Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

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);
  • No labels