It's all about the answers!

Ask a question

Validating Scheduled finish date against Iteration End Date

Russell Norlund (17211622) | asked Nov 08 '11, 6:53 a.m.
Is it possible to set up a javascript work item customisation to run a validation against an iteration end date e.g.:

if scheduled finish date > Iteration End Date then Warning

Its possible to get the Planned for Attribute which returns the Iteration name but how do you get hold of the iteration start and end dates?

One answer

permanent link
Ralph Schoon (62.0k33643) | answered Nov 08 '11, 4:37 p.m.

I know that it is possible to calculate with dates in JavaScript in However, the API is still very limited, so I am not confident you can get to the end of iteration date using the planned for attribute. I would be very interested in an answer. says there are restrictions on items returned.

Your answer

Register or to post your answer.