It's all about the answers!

Ask a question


Malaya Sethi (113552) | asked Oct 01 '13, 3:17 p.m.
edited Oct 02 '13, 4:03 p.m. by Stef van Dijk (2.0k179)
 i want to customize the estimation filed of task in such a way that, it will accept value between 0 to 8 only.

please help.

Bas Bekker commented Oct 01 '13, 5:17 p.m.

Assume this question is regarding RTC, not RRC, correct?

Malaya Sethi commented Oct 02 '13, 5:23 a.m.

  yes.. it is for RTC. can u please help on priority?

Stef van Dijk commented Oct 02 '13, 4:05 p.m.

Hi Malaya,

You had tagged this question with rational-requirements-composer so I have re-tagged it with rational-team-concert so the folks with more expertise on that product will see and hopefully respond to your question.

One answer

permanent link
Joseph Mao (440189) | answered Oct 03 '13, 12:52 a.m.
 Hi Malaya, 

I think you can try use the feature of attribute customization feature.
There is a article on this topic.

For your scenario, I think if you want to limit with number of 0 to 8, then probably "Value Sets" type provider can be helpful.
Or you can add a "Validator" provider with number range can also helps here.

Malaya Sethi commented Oct 03 '13, 12:59 a.m.

but this value set will work only for custom fields but not for built in filelds like estimate or time remaining. Let me know your thoughts. 

Zeeshan Choudhry commented Oct 03 '13, 3:28 a.m.

You can use script based validation on the "Estimate" attribute. You will need to write a script that validates the time you enter.
Or make a new attribute in which you can use integer based validation from 0-8

Joseph Mao commented Oct 03 '13, 5:01 a.m.

The limitation is not on built-in or custom attribute, but the attribute type. 

Both estimate and time remaining (time spent) is on type "Duration", you need to use script based value set or script based validation, as Zee mentioned above.

The number range validation mentioned in my answer can not apply to "Duration" type attribute.  

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.