IBM RTC 605 Calculated values Cannot read property 'HttpConnectorParameters' of undefined
Hi,
I'm trying to send information via script on the calculated values section, I created a javascript, and I'm trying to use
dojo.require("com.ibm.team.workitem.api.common.connectors.HttpConnectorParameters");
it was working in the begining but suddenly start showing this error:
ERROR: TypeError: Cannot read property 'HttpConnectorParameters' of undefined
I didn't change anything so I wonder if this was like temporal working feature available for calculated values of an attributes.
any alternative to send post? via rest? or something reliable?
it crashes right here:
var params= new com.ibm.team.workitem.api.common.connectors.HttpConnectorParameters();
script here:
dojo.provide("org.example.calculated.test");
dojo.require("com.ibm.team.workitem.api.common.WorkItemAttributes");
dojo.require("com.ibm.team.workitem.api.common.connectors.HttpConnectorParameters");
(function() {
var WorkItemAttributes = com.ibm.team.workitem.api.common.WorkItemAttributes;
dojo.declare("org.example.calculated.test", null, {
getValue: function(attribute, workItem, configuration) {
var params= new com.ibm.team.workitem.api.common.connectors.HttpConnectorParameters();
...
Thanks