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.
|
Accepted answer
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.