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

RTC 3.x Is it possible to assign a Validator to an attribute of type Duration?

The Estimate attribute has a default type of Duration. I cannot see how to change the attribute type to something other than Duration (nor do I think I want to given that the estimated versus actual comparisons and other calculations are prominent and driven off the Duration type in muliptle areas in the tool like plans and widgets).

My objective is to add a Validation on the estimate field so that a minumim of 8 hours is entered but a maximum of 40 hours is not exceeded.

Any help would be greatly appreciated!

0 votes



One answer

Permanent link
Hi Phil,

have you looked at using a script? See https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Accessing_built_in_attributes_of

If you do that you can access the data you want using

WorkItemAttributes.ESTIMATE
WorkItemAttributes.CORRECTED_ESTIMATE
WorkItemAttributes.TIME_SPENT

and get the data in milliseconds..




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

Question asked: Nov 21 '12, 3:06 p.m.

Question was seen: 4,468 times

Last updated: Nov 26 '12, 6:17 p.m.

Confirmation Cancel Confirm