It's all about the answers!

Ask a question

Calculating date attributes


Terry Kemp (351012) | asked Dec 21 '11, 12:20 a.m.
Can someone point me to an example of calculating a timestamp attribute (such as for due date) based on the work item created timestamp?

3 answers



permanent link
Fausto Lemos (16811518) | answered Dec 21 '11, 10:30 a.m.
Terry,

see if this helps

https://jazz.net/wiki/bin/view/Main/AttributeCustomization#ScriptBasedNotes

https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Calculated_values

[]'s
Fausto

Can someone point me to an example of calculating a timestamp attribute (such as for due date) based on the work item created timestamp?

permanent link
Terry Kemp (351012) | answered Dec 21 '11, 11:45 a.m.
Terry,

see if this helps

https://jazz.net/wiki/bin/view/Main/AttributeCustomization#ScriptBasedNotes

https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Calculated_values

[]'s
Fausto

Can someone point me to an example of calculating a timestamp attribute (such as for due date) based on the work item created timestamp?


I'll give it a try, thanks!

permanent link
Terry Kemp (351012) | answered Dec 21 '11, 3:09 p.m.
Those links were helpful but I am getting this error:

unable to find file: ./../com/ibm/team/workitem/common/setInitialDueDate.js

Does anyone know if the sandbox is configured to allow scripting? Otherwise it seems I am having trouble getting the script file in the proper location - I have tried a few options for the classpath.

Terry,

see if this helps

https://jazz.net/wiki/bin/view/Main/AttributeCustomization#ScriptBasedNotes

https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Calculated_values

[]'s
Fausto

Can someone point me to an example of calculating a timestamp attribute (such as for due date) based on the work item created timestamp?

Your answer


Register or 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.