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

Setting required fields based on attribute choice

We have the need to create a defect template that when an attribute selection is chosen, then another field is required to be filled in.

Example:

Fields:

Filed against: a, b, c
CustomField: text field

If FILED AGAINST = A
Then CustomField is REQUIRED

If FILED AGAINST does not equal A
Then CustomField is not REQUIRED

Is this possible within RTC 2.0.0.2?

0 votes



3 answers

Permanent link
We have the need to create a defect template that when an attribute selection is chosen, then another field is required to be filled in.

Example:

Fields:

Filed against: a, b, c
CustomField: text field

If FILED AGAINST = A
Then CustomField is REQUIRED

If FILED AGAINST does not equal A
Then CustomField is not REQUIRED

Is this possible within RTC 2.0.0.2?


this can be done by coding your own precondition - saying that save workitem action fails on this particular work item if the field filed against has a certain value.

0 votes


Permanent link
We have the need to create a defect template that when an attribute selection is chosen, then another field is required to be filled in.

Example:

Fields:

Filed against: a, b, c
CustomField: text field

If FILED AGAINST = A
Then CustomField is REQUIRED

If FILED AGAINST does not equal A
Then CustomField is not REQUIRED

Is this possible within RTC 2.0.0.2?


this can be done by coding your own precondition - saying that save workitem action fails on this particular work item if the field filed against has a certain value.


What exactly do you mean by "code my own precondition"? Where and how would I achieve this?

0 votes


Permanent link
We have the need to create a defect template that when an attribute selection is chosen, then another field is required to be filled in.

Example:

Fields:

Filed against: a, b, c
CustomField: text field

If FILED AGAINST = A
Then CustomField is REQUIRED

If FILED AGAINST does not equal A
Then CustomField is not REQUIRED

Is this possible within RTC 2.0.0.2?


this can be done by coding your own precondition - saying that save workitem action fails on this particular work item if the field filed against has a certain value.


What exactly do you mean by "code my own precondition"? Where and how would I achieve this?


Well there are many ways to do it - but I would suggest you follow the instructions in this video on youtube - and when you get that up and running I can provide with a code sample on how to do it:

http://www.youtube.com/watch?v=Rfvx0AWvy_Y&feature=related

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: Oct 12 '10, 2:47 p.m.

Question was seen: 4,698 times

Last updated: Oct 12 '10, 2:47 p.m.

Confirmation Cancel Confirm