Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC 4.0 - Unable to retrieve value of attribute (type contributor)

I am able to retrieve value of all custom attributes, except contributor attribute, rather it returns null value. Customer is current using javascript to retrieve contributor value

Below is example of javascript

var approver = workItem.getValue("attribute.approver");

text = "Approve: " + approver;

console.log(text);

------------------------

!ENTRY com.ibm.team.rtc.common.scriptengine 1 0

!MESSAGE LOG: Approve: null


I have referred to https://jazz.net/forum/questions/76762/how-to-fecth-the-values-of-contributor-list-type-attribute and https://jazz.net/forum/questions/13795/retrieving-icontributorhandle-using-contributor-attributes
however Icontributor class seem to be used for client plugin, which mean I may not be able to use for custom attributes.

Is there any way to retrieve value of contributor attribute via javascript? Any assistance will be most appreciated


0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Oct 12 '12, 3:45 a.m.

Question was seen: 4,803 times

Last updated: Oct 12 '12, 3:45 a.m.

Confirmation Cancel Confirm