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 (59.4k23642) | answered Feb 26 '17, 11:54 a.m.
edited Feb 26 '17, 2:25 p.m.

Please see 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 for a nice over all introduction.

Your answer

Register or to post your answer.