Updating Contributor List attribute using Script-based Default or Calculated Value provider
Hi,
I would like to update a custom Owners attribute (of type Contributor List) to take the initial value from the "Owned By" value.
I tried using the following code. However, it doesn't seem to work.
getValueSet: function(attribute, workItem, configuration)
{
I would like to update a custom Owners attribute (of type Contributor List) to take the initial value from the "Owned By" value.
I tried using the following code. However, it doesn't seem to work.
getValueSet: function(attribute, workItem, configuration)
{
var ownedBy = workItem.getValue(WorkItemAttributes.OWNER);}
var owners = [];
owners.push(ownedBy);
return owners;
Comments
Donald Nong
Aug 19 '14, 3:35 a.m.You may have to do some debugging and see if it is the same problem described in this post.