It's all about the answers!

Ask a question

Updating Contributor List attribute using Script-based Default or Calculated Value provider

Swathi Brahma (1145) | asked Aug 18 '14, 4:35 p.m.

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 = [];
return owners;

Donald Nong commented 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.

Be the first one to answer this question!

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.