It's all about the answers!

Ask a question

Calculated value field using js script is not working for newly created project

Ayan Paul (2552230) | asked May 30 '14, 1:47 a.m.

I have created a new project and copied the project config source from existing working project. Reloaded the scripts from Prod server so that it can be visible from link. Even then this calculated value scripts are not working. These are timestamp field, which is showing as none.

The script is when to change the status of a defect to start working it will take the timestamp and place it in actual start time field. In edit custom attribute field the properties are same as it is in working project.

Please help to resolve the problem.

Lily Wang commented May 30 '14, 2:29 a.m.

 Is the new created project on a different RTC server? If it is, have you enabled Process Attachment Scripts on the server? 

If the Process Attachment Scripts has been enabled, could you see any error in ccm.log?

Dinesh Kumar B commented Jun 05 '14, 5:58 a.m.

are you able to view the script in firefox > firebug > script tab
if so, are you able to set a breakpoint somewhere in the script and reach the breakpoint?

are there any errors in the ccm.log?

Ayan Paul commented Jun 17 '14, 7:02 a.m.

Thanks for your reply. Actually an error was coming in ccm.log which is sample.js is missing. I found a script called sample.js which is neither used for mapped with and calculated value but present and causing this trouble. After deletion it resolved.

Be the first one to answer this question!

Register or to post your answer.