Unable to copy RTC workitem description using javascript
![]()
Hi,
I am trying to copy the RTC WI description value to a medium string / Html box using the script attached and it is not working.
dojo.provide("com.example.common.MyClass");
dojo.require("com.ibm.team.workitem.api.common.WorkItemAttributes");
(function() {
dojo.declare("com.example.common.MyClass", null, {
getDefaultValue: function(attributeId, workItem, configuration) {
var value = workItem.getValue(workItemAttributes.DESCRIPTION);
return value;
}
});
})();
The Same script is working between two custom attributes.
I tried replacing the description attribute id as wee, no luck !
Any help on this is much appreciated.
|