It's all about the answers!

Ask a question

Validating Scheduled finish date against Iteration End Date


Russell Norlund (17211621) | 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 (59.7k23643) | answered Nov 08 '11, 4:37 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

I know that it is possible to calculate with dates in JavaScript in 3.0.1.1. 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. https://jazz.net/wiki/bin/view/Main/AttributeCustomization says there are restrictions on items returned.

Your answer


Register or to post your answer.