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 (56.6k23642) | 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.