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 7 Current »

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

  • No labels