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

RTC custom scripts are not being executed when work item is saved. Is there a way to change this?

I am running RTC 4.0.6 on a Linux server with WAS and DB2. I have implemented custom scripts (calculated values, javascript) on many different projects on the server.

The other day all the scripts in one of the projects stopped working. I was able to narrow down the problem, it seems that the scripts are not triggered correctly. They can be triggered by the changing of any variable except the State (status) variable. Also the scripts don't get triggered when work items are saved like they do in my other projects.

This all seems very strange to me. Has anyone else had any similar experience?
The way I edit how the scripts are triggered is by adding Dependencies to Attributes in the 'Types and Attributes' menu. Is there any other way?

I was editing the source XML directly recently, could this be a result of changing something in the XML?

0 votes



One answer

Permanent link
I found the answer to the problem. RTC believes that some scripts are empty, 0 bytes. These can be identified by going to the Links tab of the Project Area in the eclipse client. On that tab all of the attachments are listed with their paths and sizes. Some scripts show up as 0 bytes.

Removing the empty scripts and adding them again solved the problem.

0 votes

Your answer

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
× 7,494
× 6,121
× 42
× 9
× 6

Question asked: Dec 17 '15, 11:09 a.m.

Question was seen: 3,741 times

Last updated: Jan 22 '16, 4:38 a.m.

Related questions
Confirmation Cancel Confirm