It's all about the answers!

Ask a question

Comments field in dojo calculation script


demo demo (133) | asked Feb 26 '17, 9:49 a.m.

hi there,  How can i get  comments field value from a RTC workitem using the Dojo calculation script.  i have used the following statement but nothing is returned.


  var comm = workItem.getValue(WorkItemAttributes.COMMENTS);

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Feb 26 '17, 11:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Feb 26 '17, 2:25 p.m.

Please see https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Accessing_built_in_attributes_of for the documentation and the list of supported built in attributes. Note that the work item comments are neither an attribute - it is in fact not an attribute based implementation - nor are they listed in the JavaScript API.

Also see https://jazz.net/library/article/1003/ for a nice over all introduction.

Your answer


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.