Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Be the first one to answer this question!

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Jul 15 '19, 2:52 a.m.

Question was seen: 809 times

Last updated: Jul 15 '19, 2:52 a.m.

Confirmation Cancel Confirm