It's all about the answers!

Ask a question

How to set value to custom attribute.

vikrant kamble (1322596) | asked Jun 30 '15, 3:06 a.m.
Hi all,
I want to set value to custom attribute "count" whose attribute type is integer for defect type of work item using API.
I added custom attribute named "count" to defect type of work item using process configuration tab of project area.
Process configuration-->Project Configuration-->Configuration Data-->Work Items--> Types and attributes.
I want to set its value to some hard coded value say 1,  programmatically using API.
For this, should I access project area first then work item and then attribute for particular type of work item or I can directly set value to required custom attribute.?
Please tell me a way to do this

Thank You

One answer

permanent link
Ralph Schoon (62.7k33643) | answered Jun 30 '15, 3:46 a.m.

Your answer

Register or to post your answer.