Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

script based validator to check "due date" in work item to be 15th of current month & year

Hi,

I have a custom work item type with attribute "Due Date", i want user to select only 15th of current month & year.
If user selects date other than 15th of that particular month & year, validation fails and return Error message.

Please help me with necessary script.
Thanks
Varma K

0 votes

Comments

If it can only be 15th of the current month/year, you may want to consider (using the data Ralph provided in his answer below) creating a Default Value Provider that would simply set the value as desired (so the user need not do anything). You could also add a Validator in case the user is allowed to change the value.



One answer

Permanent link
Hi,

this page should get you started on writing something: https://jazz.net/wiki/bin/view/Main/AttributeCustomization

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,503
× 6,130

Question asked: Jul 13 '12, 6:18 a.m.

Question was seen: 5,415 times

Last updated: Jul 16 '12, 4:54 p.m.

Confirmation Cancel Confirm