Why does the age calculation script not working?
I have followed the steps given in the below article to calculate age of defect. But even though all steps have been followed, the age is not getting calculated. I am using RTC 3.0.1.2. Is there some step that is missing in this article that I should be doing?
https://jazz.net/library/article/1003#calc-values
Someone please help! Thanks!
2 answers
the return values from the script you are trying to use is of the form "2 d, 20 hr, 34 min" which is best suited for a string attribute.
so, please verify if the ItemAge attribute which uses the script is of type string (small/medium/large - any is fine).
i have just verified using the script from https://jazz.net/library/article/1003#calc-values and observe that
a. when its applied on a TimeStamp attribute, the value remains at "None" - no change observed due to the execution of the script
b. when applied on a small string attribute, the value shows up correctly and is of the form "2 d, 20 hr, 34 min"
hope this helps
so, please verify if the ItemAge attribute which uses the script is of type string (small/medium/large - any is fine).
i have just verified using the script from https://jazz.net/library/article/1003#calc-values and observe that
a. when its applied on a TimeStamp attribute, the value remains at "None" - no change observed due to the execution of the script
b. when applied on a small string attribute, the value shows up correctly and is of the form "2 d, 20 hr, 34 min"
hope this helps
Comments
Krzysztof Kaźmierczyk
Mar 28 '14, 4:02 a.m.