It's all about the answers!

Ask a question

Is there a way to validate total sum of some attributes?


Jinsong Ji (2165) | asked Dec 28 '11, 5:57 a.m.
I can validate the input of each attributes, but i didn't find out how to validate the total sum of some attributes.

eg: I have 3 int attributes in one workitem A, B, C,
A+B+C are assumed to be less than 100.
How can I validate this? Thanks.

2 answers



permanent link
Scott Crouch (48532326) | answered Dec 28 '11, 8:45 a.m.
You should be able to use a script based validator to accomplish this. A good starting point can be found here: https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_Based_Validation

permanent link
Jinsong Ji (2165) | answered Dec 28 '11, 8:48 p.m.
You should be able to use a script based validator to accomplish this. A good starting point can be found here: https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_Based_Validation


OK, thank you! :)

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.