It's all about the answers!

Ask a question

Mandatory attributes are not working currectly

Ashwath G (6623148) | asked Apr 03 '15, 5:02 a.m.

I have applied the required fields for type and state from operational behavior on Defect WI.
We have Attributes  with  text fields, Enumerations etc.....We see all attribute with enabled as required is showing with star but while saving its not validating on all the attributes. Only for few attributes its saying provide values and rest with out providing its saving the work item.
I have applied this for individual user role / on open state only. And tried first on everyone/ individual role also but still the same.

Where could be the problem.

Kindly guide me to fix this.

Thank you...!

One answer

permanent link
Susan Hanson (1.6k2195194) | answered Apr 03 '15, 6:30 a.m.
You also need to have applied "Attributed Validation", which verifies that a work item can only be saved if all attribute values are valid.  Without it, it gives the star to indicate it is required but does require that all of the attributes are valid prior to allowing the work item to be saved.


Ashwath G commented Apr 03 '15, 6:46 a.m.

Thanks ...Yes i have applied the Attribute Validation also. But the validation is working for 5 attributes out of 13 attributes.
Thank you...!

Your answer

Register or to post your answer.