It's all about the answers!

Ask a question

How to restrict a value for a custom att of type WorkItem?

Kruttika Pendharkar (21174) | asked Nov 08 '11, 9:38 a.m.

I have created a custom attribute of type WorkItem.
When I click on choose value, a pop up comes to select a work item type.
I want to restrict it to select only 'Defect' as a type.
Is it possible?
Or can we validate that the selected workitem is of type Defect only?

Thanks in advance for all help.

One answer

permanent link
Ralph Schoon (63.2k33646) | answered Nov 08 '11, 4:32 p.m.

i am not sure if that can be done today with Javascript. Some hints in this post

There is a Wiki with more information here: Please be aware that this is an experimental capability and might not be working with work item types.

I have not tried if that is possible myself.

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.