Script Based Validation with Attribute Validation is not work
Yu Pu (11●1●2)
| asked Nov 24 '15, 10:56 p.m.
edited Nov 25 '15, 2:32 a.m. by Ralph Schoon (63.5k●3●36●46)
I trying to wirte a Script Based Validation.with precondition Attribute Validation.it will check if the value is vaild while save the workItem.but is seems the Attribute Validation is not work.
Below is my step: 1.Create a new Script-based validator. Use the following Javascript
Why the Attribute Validation is not work and prevent me save and return error message? Can you give some ideas?thanks. |
2 answers
Hi Yu,
I just want to make sure. Have you enabled script based customize on ccm/admin advanced property page? If so, can you put some console.log ("test") to know if it is executed or not.
|
Ralph Schoon (63.5k●3●36●46)
| answered Nov 25 '15, 2:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Nov 25 '15, 2:37 a.m.
Also verry common is to configure the operational behavior incorrect. The rules that apply are: Process behavior lookup in Rational Team Concert 2.0
The screenshot I can see as moderator, shows the validation works, as it shows the error markup. so I am not sure what happens.
|
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.