It's all about the answers!

Ask a question

How to get duration values in JavaScript?


Steve Comfort (1529) | asked May 11 '16, 8:06 a.m.
 I want to calculate an estimate based on provided best case, worst case and most likely case values. These values are all of type Duration. What is this type represented internally as (integer, datestamp,??)? In other words what type of get do I need to use to get the durations?

One answer



permanent link
Donald Nong (14.5k414) | answered May 12 '16, 4:58 a.m.
I don't think it's supported. The JavaScript extension only supports limited attribute types.
https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript

Note that we are talking about attribute types, so Duration is just Duration. If it's not in the list, it's not supported.

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.